WebSocket send request structure.

This structure holds the parameters for sending a WebSocket frame, including the opcode, payload buffer, and payload length.

Public Attributes#

Opcode (TEXT, BINARY, and so on.).

const uint8_t *

Pointer to the payload.

size_t

Length of the payload.

Public Attribute Documentation#

opcode#

sl_websocket_opcode_t sl_websocket_send_request_t::opcode

Opcode (TEXT, BINARY, and so on.).


buffer#

const uint8_t* sl_websocket_send_request_t::buffer

Pointer to the payload.


length#

size_t sl_websocket_send_request_t::length

Length of the payload.