Documentation ¶
Rendered for js/wasm
Overview ¶
Package http makes XML HTTP Requests using native browser code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // Timeout is the amount of time a request can take before being considered timed out. Timeout time.Duration }
Client makes HTTP requests.
type Request ¶
type Request struct { // Method is the HTTP method (GET/POST). Method string // URL is the address to the server. URL string // Headers contain additional request properties. Headers map[string]string // Body contains additional request data. Body string }
Request identifies the question to ask a server.
Click to show internal directories.
Click to hide internal directories.