WE310F5  39.00.000
M2MB_WEBSOCKET_OPEN_PARAMS 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_CTXT_HANDLE sslhandle
 
UINT32 max_Recv_Chunk_Size
 
UINT32 handshake_Timeout_Millseconds
 
UINT32 closing_Timeout_Millseconds
 
M2MB_WEBSOCKETC_EVENT_CB_TpUsercb
 

Detailed Description

Client configuration parameters. For use with m2mb_websocketc_new.

Definition at line 187 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 207 of file m2mb_websocket.h.

◆ handshake_Timeout_Millseconds

UINT32 handshake_Timeout_Millseconds

Handshake (qapi_Websocket_Client_Connect) timeout in milliseconds.

Definition at line 204 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 201 of file m2mb_websocket.h.

◆ origin

const char* origin

Client origin. NULL if no origin specified.

Definition at line 189 of file m2mb_websocket.h.

◆ pUsercb

Definition at line 211 of file m2mb_websocket.h.

◆ sslhandle

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

Definition at line 198 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 192 of file m2mb_websocket.h.

◆ subprotocol_List_Length

UINT32 subprotocol_List_Length

Length of sub-protocol list.

Definition at line 195 of file m2mb_websocket.h.


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