ace v0.12.0 Ace.Response View Source
Encapsulate parameters for HTTP stream from server to client.
| status | The HTTP status code for the response: 1xx, 2xx, 3xx, 4xx, 5xx |
| 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. |
Link to this section Summary
Functions
Construct a new response
Link to this section Functions
Construct a new response