Zen API
|
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.
response | Response object. |
reason | HTTP status description. |