Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kHttpServerResponse_BeginWriteContent ( kHttpServerResponse  response,
k64u  length,
kStream stream 
)

Begins writing a simple message body.

Use the stream provided by this function to write the message body.

Use of this function will automatically add the 'Content-Length' header.

Parameters
responseResponse object.
lengthTotal length of the message body, in bytes.
streamReceives a reference to a stream object that should be used to write the message body.
Returns
Operation status.