Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kHttpServerResponse_SetClosed ( kHttpServerResponse  response,
kBool  closed 
)

Instructs the HTTP server to close this connection when message processing is complete.

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

Use of this function will automatically add the 'connection: closed' header.

Parameters
responseResponse object.
closedkTRUE to close the connection; kFALSE otherwise.
Returns
Operation status.