Zen API
|
kStatus kHttpServerResponse_SetStatus | ( | kHttpServerResponse | response, |
kHttpStatus | status | ||
) |
Sets the HTTP status code associated with this response.
By default, status code 200 (OK) is assumed.
This function can only be called prior to writing the message body.
response | Response object. |
status | HTTP status code. |