HTTPRequest

An HTTPRequest represents any HTTP request made to a oneshot server.

Field Type Description
Method string The HTTP method used.
RequestURI string The full request URI.
Path string The request path.
Query map[string][]string The query parameters.
Protocol string The HTTP protocol used.
Header map[string][]string The HTTP headers.
Host string The host name.
Trailer map[string][]string The HTTP trailer headers.
RemoteAddr string The remote address of the client.
Body string The base64 encoded request body.