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.).
Definition at line
136
of file components/service/sl_websocket_client/inc/sl_websocket_client_types.h
buffer#
const uint8_t* sl_websocket_send_request_t::buffer
Pointer to the payload.
Definition at line
137
of file components/service/sl_websocket_client/inc/sl_websocket_client_types.h
length#
size_t sl_websocket_send_request_t::length
Length of the payload.
Definition at line
138
of file components/service/sl_websocket_client/inc/sl_websocket_client_types.h