Asterisk - The Open Source Telephony Project GIT-master-2de1a68
Data Fields
websocket_client Struct Reference
Collaboration diagram for websocket_client:
Collaboration graph
[legend]

Data Fields

char * accept_protocol
 
struct ast_tcptls_session_argsargs
 
char * host
 
char * key
 
char * protocols
 
struct ast_strresource_name
 
struct ast_tcptls_session_instanceser
 
int version
 

Detailed Description

Definition at line 1198 of file res_http_websocket.c.

Field Documentation

◆ accept_protocol

char* accept_protocol

the protocol accepted by the server

Definition at line 1208 of file res_http_websocket.c.

Referenced by websocket_client_destroy(), and websocket_client_handshake_get_response().

◆ args

tcptls connection arguments

Definition at line 1212 of file res_http_websocket.c.

Referenced by websocket_client_connect(), websocket_client_create(), and websocket_client_destroy().

◆ host

char* host

◆ key

char* key

unique key used during server handshaking

Definition at line 1204 of file res_http_websocket.c.

Referenced by websocket_client_create(), websocket_client_destroy(), websocket_client_handshake(), and websocket_client_handshake_get_response().

◆ protocols

char* protocols

◆ resource_name

struct ast_str* resource_name

path for logical websocket connection

Definition at line 1202 of file res_http_websocket.c.

Referenced by websocket_client_create(), websocket_client_destroy(), and websocket_client_handshake().

◆ ser

◆ version

int version

websocket protocol version

Definition at line 1210 of file res_http_websocket.c.

Referenced by ParsingContext::next(), websocket_client_create(), and websocket_client_handshake().


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