Asterisk - The Open Source Telephony Project GIT-master-754dea3
|
Options used for a websocket client. More...
#include <http_websocket.h>
Data Fields | |
const char * | password |
const char * | protocols |
int | suppress_connection_msgs |
int | timeout |
struct ast_tls_config * | tls_cfg |
const char * | uri |
const char * | username |
Options used for a websocket client.
Definition at line 447 of file http_websocket.h.
const char* password |
Auth password
Definition at line 473 of file http_websocket.h.
const char* protocols |
A comma separated string of supported protocols
Definition at line 461 of file http_websocket.h.
Referenced by ast_websocket_client_create().
int suppress_connection_msgs |
Suppress connection log messages
Definition at line 474 of file http_websocket.h.
int timeout |
Optional connection timeout
How long (in milliseconds) to attempt to connect (-1 equals infinite)
Definition at line 467 of file http_websocket.h.
Referenced by websocket_connect().
struct ast_tls_config* tls_cfg |
Secure websocket credentials
Definition at line 471 of file http_websocket.h.
Referenced by ast_websocket_client_create().
const char* uri |
The URI to connect to
Expected uri form:
ws[s]://<address>[:port][/<path>]
The address (can be a host name) and port are parsed out and used to connect to the remote server. If multiple IPs are returned during address resolution then the first one is chosen.
Definition at line 457 of file http_websocket.h.
Referenced by ast_websocket_client_create(), and websocket_connect().
const char* username |
Auth username
Definition at line 472 of file http_websocket.h.