Function

nw_ws_response_get_status

Accesses the status of a WebSocket server response.

Declaration

nw_ws_response_status_t nw_ws_response_get_status(nw_ws_response_t response);

See Also

Handling Server Handshakes

nw_ws_options_set_client_request_handler

Sets a handler to react to as a server to inbound WebSocket client handshakes.

nw_ws_client_request_handler_t

A handler that delivers inbound client handshake requests.

nw_ws_request_t

A WebSocket handshake request sent from a client to a server.

nw_ws_request_enumerate_subprotocols

Enumerates the supported subprotocols in a WebSocket message.

nw_ws_subprotocol_enumerator_t

A block that enumerates the supported subprotocols in a WebSocket client request.

nw_ws_request_enumerate_additional_headers

Enumerates additional HTTP headers in a WebSocket message.

nw_ws_additional_header_enumerator_t

A block that enumerates additional HTTP headers in a WebSocket client request.

nw_ws_response_t

A WebSocket handshake reponse sent from a server to a client.

nw_ws_response_create

Initializes a WebSocket server response with a status and selected subprotocol.

nw_ws_response_status_t

Status values that are sent with a WebSocket server response.

nw_ws_response_add_additional_header

Adds an additional HTTP header to a WebSocket server response.

nw_ws_response_get_selected_subprotocol

Accesses the selected subprotocol in a WebSocket server response.

nw_ws_response_enumerate_additional_headers

Enumerates the additional HTTP headers in a WebSocket server response.