Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kHttpServerResponse_SetReason ( kHttpServerResponse  response,
const kChar reason 
)

Sets the HTTP status description associated with this response.

If a custom description is not provided, a default description based on the status code will be sent.

This function can only be called prior to writing the message body.

Parameters
responseResponse object.
reasonHTTP status description.
Returns
Operation status.