Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Options used for a websocket client. More...
#include <http_websocket.h>
Data Fields | |
const char * | protocols |
int | timeout |
struct ast_tls_config * | tls_cfg |
const char * | uri |
Options used for a websocket client.
Definition at line 446 of file http_websocket.h.
const char* protocols |
A comma separated string of supported protocols
Definition at line 460 of file http_websocket.h.
Referenced by ast_websocket_client_create().
int timeout |
Optional connection timeout
How long (in milliseconds) to attempt to connect (-1 equals infinite)
Definition at line 466 of file http_websocket.h.
Referenced by websocket_connect().
struct ast_tls_config* tls_cfg |
Secure websocket credentials
Definition at line 470 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 456 of file http_websocket.h.
Referenced by ast_websocket_client_create(), and websocket_connect().