Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kHttpServerResponse_SetVersion | ( | kHttpServerResponse | response,
|  | kVersion | version
| ) |  |

Sets the version associated with this HTTP response.

By default, version 1.1 is assumed.

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

Parameters

  response | Response object.
  version | Message version.

Returns
  Operation status.