WL865E4-P  36.07.001
M2MB_WEBSOCKET_CLIENT_CONFIG Struct Reference

Client configuration parameters. For use with m2mb_websocketc_new. More...

#include <m2mb_websocket.h>

Data Fields

const char * origin
 
char ** subprotocol_List
 
UINT32 subprotocol_List_Length
 
M2MB_SSL_OBJ_HDL_T ssl_Object_Handle
 
UINT32 max_Recv_Chunk_Size
 
UINT32 handshake_Timeout_Millseconds
 
UINT32 closing_Timeout_Millseconds
 

Detailed Description

Client configuration parameters. For use with m2mb_websocketc_new.

Definition at line 188 of file m2mb_websocket.h.

Field Documentation

◆ closing_Timeout_Millseconds

UINT32 closing_Timeout_Millseconds

Closing timeout in milliseconds. If the peer does not respond after we have initiated a close within the timeout, the Websocket is forcibly shutdown.

Definition at line 208 of file m2mb_websocket.h.

◆ handshake_Timeout_Millseconds

UINT32 handshake_Timeout_Millseconds

Handshake (qapi_Websocket_Client_Connect) timeout in milliseconds.

Definition at line 205 of file m2mb_websocket.h.

◆ max_Recv_Chunk_Size

UINT32 max_Recv_Chunk_Size

Messages longer than this value will be passed to recv callback in chunks of max_Recv_Chunk_Size.

Definition at line 202 of file m2mb_websocket.h.

◆ origin

const char* origin

Client origin. NULL if no origin specified.

Definition at line 190 of file m2mb_websocket.h.

◆ ssl_Object_Handle

M2MB_SSL_OBJ_HDL_T ssl_Object_Handle

SSL context for websocket over SSL. NULL for no SSL.

Definition at line 199 of file m2mb_websocket.h.

◆ subprotocol_List

char** subprotocol_List

List of string containing sub-protocols. NULL if no sub-protocol specified.

Definition at line 193 of file m2mb_websocket.h.

◆ subprotocol_List_Length

UINT32 subprotocol_List_Length

Length of sub-protocol list.

Definition at line 196 of file m2mb_websocket.h.


The documentation for this struct was generated from the following file: