ace v0.13.1 Ace.Request View Source
Encapsulate parameters used to open an HTTP stream.
This module is for working with requests.
A request can be sent over a stream using the Ace.Client
method | The HTTP request method, such as “GET” or “POST”, as an atom; always uppercase. |
path | Path to the resource requested |
headers | The headers from the HTTP request as an array of string pairs. Note all headers will be downcased, e.g. [{“content-type”, “text/plain”}] |
body | true , false or complete body as a binary. |
authority(“example.com”) | The host and port of the server. |
scheme(:https) | :http or :https , depending on the transport used. |
() default value
Link to this section Summary
Functions
Just the request contain all content the will be part of the request stream
Construct a new DELETE request
Construct a new GET request
Construct a new HEAD request
Construct a new request
Construct a new PATCH request
Construct a new POST request
Construct a new PUT request
Link to this section Functions
Just the request contain all content the will be part of the request stream.
Construct a new DELETE request.
Construct a new GET request.
Construct a new HEAD request.
Construct a new request.
Construct a new PATCH request.
Construct a new POST request.
Construct a new PUT request.