raxx v0.4.1 Raxx.Chunked
Module for handling a response served in chunks.
A chunked response needs to upgrade the Raxx handler.
This handler needs to implement the additional handle_info/2
callback.
The chunked handler may be the same module as the request handler.
The contents are itemised below:
handler | The module that implements the required callbacks to send a response in 1 or more chunks |
state | Any state that the handle_info callback might need. |
initial | TODO The first chunk to be streamed to the client, by default an empty string. |
headers | TODO Any additional headers to add to the response that is sent to the client. |