19#ifndef ARI_WEBSOCKETS_H_
20#define ARI_WEBSOCKETS_H_
75 const char *remote_addr,
struct ast_variable *upgrade_headers,
int ari_websocket_process_request(struct ari_ws_session *ast_ws_session, const char *remote_addr, struct ast_variable *upgrade_headers, const char *app_name, struct ast_json *msg)
void ari_websocket_send_event(struct ari_ws_session *ari_ws_session, const char *app_name, struct ast_json *message, int debug_app)
Callback handler for Stasis application messages.
int ari_websocket_unload_module(void)
void ari_handle_websocket(struct ast_tcptls_session_instance *ser, const char *uri, enum ast_http_method method, struct ast_variable *get_params, struct ast_variable *headers)
Wrapper for invoking the websocket code for an incoming connection.
int ari_websocket_load_module(void)
Support for Private Asterisk HTTP Servers.
ast_http_method
HTTP Request methods known by Asterisk.
Asterisk JSON abstraction layer.
const char * app_name(struct ast_app *app)
struct ari_ws_session::@424 message_queue
struct ao2_container * websocket_apps
struct ast_websocket * ast_ws_session
int(* validator)(struct ast_json *)
Abstract JSON element (object, array, string, int, ...).
describes a server instance
Structure for variables, used for configurations and for channel variables.
Structure definition for session.
Vector container support.
#define AST_VECTOR(name, type)
Define a vector structure.