Adds a header to the response. This can only be done before headers are flushed.
Makes the response's body use "chunked" transfer-encoding. See here for more info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding Only call this method if you have not flushed the response's headers yet and you haven't written anything to the response body.
Flushes the headers for this request. Once this is done, header information can no longer be modified.
Tells whether the header of this response has already been flushed.
Sets the status of the response. This can only be done before headers are flushed.
Writes the given input stream of bytes to the response's body.
Writes the given byte content to the body of the response. If this response has not yet written its status line and headers, it will do that first.
Writes the given text to the body of the response. It's a simple wrapper around writeBody(ubyte[], string).
An associative array of headers.
The output stream that the response body will be written to.
The response status.
The data that the HTTP server will send back to clients.