import "github.com/xyproto/algernon/lua/httpclient"
Package httpclient provides Lua functions for a HTTP client
const ( // HTTPClientClass is an identifier for the HTTPClient class in Lua HTTPClientClass = "HTTPClient" )
Load makes functions related to httpclient available to the given Lua state
type HTTPClient struct {
// contains filtered or unexported fields
}
HTTPClient represents a HTTP client
func NewHTTPClient() *HTTPClient
NewHTTPClient creates a HTTPClient struct
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.