Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kWebSocket_Construct | ( | kWebSocket * | webSocket,
|  | kAlloc | allocator
| ) |  |

Constructs a WebSocket that can be used to connect to a server.

Parameters

  webSocket | Destination for constructed object handle.
  allocator | Memory allocator (or kNULL for default).

Returns
  Operation status.