Asterisk - The Open Source Telephony Project GIT-master-6144b6b
Loading...
Searching...
No Matches
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
 
int missed_pong_count
 
struct ast_websocket_client_optionsoptions
 
int ping_sched_timer
 
char * protocols
 
char * proxy_userinfo
 
struct ast_strresource_name
 
struct ast_tcptls_session_instanceser
 
int suppress_connection_msgs
 
char * userinfo
 
int version
 

Detailed Description

Definition at line 98 of file res_http_websocket.c.

Field Documentation

◆ accept_protocol

char* accept_protocol

the protocol accepted by the server

Definition at line 110 of file res_http_websocket.c.

Referenced by ast_websocket_client_accept_protocol(), websocket_client_destroy(), and websocket_client_handshake_get_response().

◆ args

tcptls connection arguments

Definition at line 114 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 106 of file res_http_websocket.c.

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

◆ missed_pong_count

int missed_pong_count

How many missed pong responses currently

Definition at line 126 of file res_http_websocket.c.

◆ options

◆ ping_sched_timer

int ping_sched_timer

The ping scheduler timer id

Definition at line 124 of file res_http_websocket.c.

Referenced by ast_websocket_client_create_with_options(), and websocket_client_create().

◆ protocols

char* protocols

◆ proxy_userinfo

char* proxy_userinfo

Proxy-Authentication userid:password

Definition at line 122 of file res_http_websocket.c.

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

◆ resource_name

struct ast_str* resource_name

path for logical websocket connection

Definition at line 104 of file res_http_websocket.c.

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

◆ ser

◆ suppress_connection_msgs

int suppress_connection_msgs

Suppress connection log messages

Definition at line 120 of file res_http_websocket.c.

Referenced by websocket_client_create(), and websocket_client_handle_response_code().

◆ userinfo

char* userinfo

Authentication userid:password

Definition at line 118 of file res_http_websocket.c.

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

◆ version

int version

websocket protocol version

Definition at line 112 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: