Asterisk - The Open Source Telephony Project  18.5.0
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 1191 of file res_http_websocket.c.

Field Documentation

◆ accept_protocol

char* accept_protocol

the protocol accepted by the server

Definition at line 1201 of file res_http_websocket.c.

Referenced by websocket_client_destroy(), and websocket_client_handshake_get_response().

◆ args

tcptls connection arguments

Definition at line 1205 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 1197 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 1195 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 1203 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: