Asterisk - The Open Source Telephony Project GIT-master-fe341c2
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
Public Member Functions | Data Fields
ast_websocket_client Struct Reference

#include <websocket_client.h>

Collaboration diagram for ast_websocket_client:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 56 of file websocket_client.h.

Member Function Documentation

◆ SORCERY_OBJECT()

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

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 67 of file websocket_client.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 67 of file websocket_client.h.

◆ ca_list_file

const ast_string_field ca_list_file

Definition at line 67 of file websocket_client.h.

Referenced by ast_websocket_client_connect().

◆ ca_list_path

const ast_string_field ca_list_path

Definition at line 67 of file websocket_client.h.

Referenced by ast_websocket_client_connect().

◆ cert_file

const ast_string_field cert_file

Definition at line 67 of file websocket_client.h.

Referenced by ast_websocket_client_connect().

◆ connect_timeout

int connect_timeout

Connection timeout (ms)

Definition at line 71 of file websocket_client.h.

Referenced by ast_websocket_client_connect().

◆ connection_type

enum ast_websocket_type connection_type

◆ invalid

int invalid

Invalid configuration

Definition at line 68 of file websocket_client.h.

◆ invalid_fields

enum ast_ws_client_fields invalid_fields

Invalid fields

Definition at line 69 of file websocket_client.h.

◆ password

const ast_string_field password

Definition at line 67 of file websocket_client.h.

Referenced by ast_websocket_client_connect().

◆ priv_key_file

const ast_string_field priv_key_file

Definition at line 67 of file websocket_client.h.

Referenced by ast_websocket_client_connect().

◆ protocols

const ast_string_field protocols

Definition at line 67 of file websocket_client.h.

Referenced by ast_websocket_client_connect().

◆ reconnect_attempts

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().

◆ reconnect_interval

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().

◆ tls_enabled

int tls_enabled

TLS enabled

Definition at line 74 of file websocket_client.h.

Referenced by ast_websocket_client_connect().

◆ uri

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().

◆ username

const ast_string_field username

Definition at line 67 of file websocket_client.h.

Referenced by ast_websocket_client_connect().

◆ verify_server_cert

int verify_server_cert

Verify server certificate

Definition at line 75 of file websocket_client.h.

Referenced by ast_websocket_client_connect().

◆ verify_server_hostname

int verify_server_hostname

Verify server hostname

Definition at line 76 of file websocket_client.h.

Referenced by ast_websocket_client_connect().


The documentation for this struct was generated from the following file: