Asterisk - The Open Source Telephony Project GIT-master-fe341c2
|
#include <websocket_client.h>
Public Member Functions | |
SORCERY_OBJECT (details) | |
Data Fields | |
struct ast_string_field_mgr | __field_mgr |
struct ast_string_field_pool * | __field_mgr_pool |
const ast_string_field | ca_list_file |
const ast_string_field | ca_list_path |
const ast_string_field | cert_file |
int | connect_timeout |
enum ast_websocket_type | connection_type |
int | invalid |
enum ast_ws_client_fields | invalid_fields |
const ast_string_field | password |
const ast_string_field | priv_key_file |
const ast_string_field | protocols |
unsigned int | reconnect_attempts |
unsigned int | reconnect_interval |
int | tls_enabled |
const ast_string_field | uri |
const ast_string_field | username |
int | verify_server_cert |
int | verify_server_hostname |
Definition at line 56 of file websocket_client.h.
SORCERY_OBJECT | ( | details | ) |
Server URI Websocket protocols to use with server Auth user name Auth password CA file CA path Certificate file Private key file
struct ast_string_field_mgr __field_mgr |
Definition at line 67 of file websocket_client.h.
struct ast_string_field_pool* __field_mgr_pool |
Definition at line 67 of file websocket_client.h.
const ast_string_field ca_list_file |
Definition at line 67 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
const ast_string_field ca_list_path |
Definition at line 67 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
const ast_string_field cert_file |
Definition at line 67 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
int connect_timeout |
Connection timeout (ms)
Definition at line 71 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
enum ast_websocket_type connection_type |
Connection type
Definition at line 70 of file websocket_client.h.
Referenced by ari_conf_get_owc_for_app(), ast_websocket_client_connect(), outbound_session_apply_config(), outbound_session_create(), show_owc_cb(), wc_apply(), websocket_client_connection_type_from_str(), and websocket_client_connection_type_to_str().
int invalid |
Invalid configuration
Definition at line 68 of file websocket_client.h.
enum ast_ws_client_fields invalid_fields |
Invalid fields
Definition at line 69 of file websocket_client.h.
const ast_string_field password |
Definition at line 67 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
const ast_string_field priv_key_file |
Definition at line 67 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
const ast_string_field protocols |
Definition at line 67 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
unsigned int reconnect_attempts |
How many attempts before returning an error
Definition at line 72 of file websocket_client.h.
Referenced by ast_websocket_client_connect(), and wc_apply().
unsigned int reconnect_interval |
How often to attempt a reconnect (ms)
Definition at line 73 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
int tls_enabled |
TLS enabled
Definition at line 74 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
const ast_string_field uri |
Definition at line 67 of file websocket_client.h.
Referenced by ast_websocket_client_connect(), show_owc_cb(), and wc_apply().
const ast_string_field username |
Definition at line 67 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
int verify_server_cert |
Verify server certificate
Definition at line 75 of file websocket_client.h.
Referenced by ast_websocket_client_connect().
int verify_server_hostname |
Verify server hostname
Definition at line 76 of file websocket_client.h.
Referenced by ast_websocket_client_connect().