Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
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.

Parameters
responseResponse object.
statusHTTP status code.
Returns
Operation status.