Contents

nw_ws_options_set_skip_handshake(_:_:)

Specifies whether the WebSocket protocol skips its handshake and begins framing data once the underlying connection is established.

Declaration

func nw_ws_options_set_skip_handshake(_ options: nw_protocol_options_t, _ skip_handshake: Bool)

Discussion

This option should not be set when communicating with a generic WebSocket server or client. This option allows a custom handshake (or no handshake) to be implemented below the WebSocket layer when both client and server are coordinated.

See Also

Functions