Asterisk - The Open Source Telephony Project GIT-master-8f1982c
|
#include <ari_websockets.h>
Data Fields | |
char * | app_name |
struct ast_websocket * | ast_ws_session |
struct { | |
size_t current | |
struct ast_json ** elems | |
size_t max | |
} | message_queue |
char | session_id [] |
int(* | validator )(struct ast_json *) |
struct ao2_container * | websocket_apps |
Definition at line 41 of file ari_websockets.h.
char* app_name |
The name of the Stasis application.
Definition at line 47 of file ari_websockets.h.
Referenced by ari_ws_session_create(), ari_ws_session_dtor(), ari_ws_session_read(), and websocket_established_cb().
struct ast_websocket* ast_ws_session |
The parent websocket session.
Definition at line 42 of file ari_websockets.h.
Referenced by ari_websocket_send_event(), ari_ws_session_dtor(), ari_ws_session_read(), ari_ws_session_update(), and ari_ws_session_write().
size_t current |
Definition at line 46 of file ari_websockets.h.
struct ast_json* * elems |
Definition at line 46 of file ari_websockets.h.
size_t max |
Definition at line 46 of file ari_websockets.h.
struct { ... } message_queue |
Container for holding delayed messages.
Referenced by ari_websocket_send_event(), ari_ws_session_create(), ari_ws_session_reset(), and ari_ws_session_update().
char session_id[] |
The id for the websocket session.
Definition at line 48 of file ari_websockets.h.
Referenced by ari_ws_session_create().
int(* validator) (struct ast_json *) |
The message validator.
Definition at line 43 of file ari_websockets.h.
Referenced by ari_ws_session_create(), and ari_ws_session_write().
struct ao2_container* websocket_apps |
List of Stasis apps registered to the websocket session.
Definition at line 44 of file ari_websockets.h.
Referenced by ari_websocket_send_event(), ari_ws_session_create(), and ari_ws_session_reset().