|
Zen API
|
| kStatus kHttpServerResponse_BeginWriteChunk | ( | kHttpServerResponse | response, |
| k64u | length, | ||
| kStream * | stream | ||
| ) |
Begins writing a chunk-encoded message body segment.
Use the stream provided by this function to write the message chunk. Call this function with a length of zero to signify that writing is complete.
Use of this function will automatically add the 'Transfer-Encoding: chunked' header.
| response | Response object. |
| length | Length of the message chunk, in bytes. |
| stream | Receives a reference to a stream object that should be used to write the message chunk. |