algernon: Index | Files

package httpclient

import ""

Package httpclient provides Lua functions for a HTTP client


Package Files



const (
    // HTTPClientClass is an identifier for the HTTPClient class in Lua
    HTTPClientClass = "HTTPClient"

func Load Uses

func Load(L *lua.LState, userAgent string)

Load makes functions related to httpclient available to the given Lua state

type HTTPClient Uses

type HTTPClient struct {
    // contains filtered or unexported fields

HTTPClient represents a HTTP client

func NewHTTPClient Uses

func NewHTTPClient() *HTTPClient

NewHTTPClient creates a HTTPClient struct

func (*HTTPClient) Begin Uses

func (hc *HTTPClient) Begin() *httpclient.HttpClient

Begin applies the settings in the HTTPClient struct and returns a httpclient.HttpClient

Package httpclient imports 8 packages (graph) and is imported by 1 packages. Updated 2020-12-02. Refresh now. Tools for package owners.