Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Handler for a single RESTful path segment. More...
#include <ari.h>
Data Fields | |
stasis_rest_callback | callbacks [AST_HTTP_MAX_METHOD] |
struct stasis_rest_handlers * | children [] |
int | is_wildcard |
size_t | num_children |
const char * | path_segment |
struct ast_websocket_server * | ws_server |
stasis_rest_callback callbacks[AST_HTTP_MAX_METHOD] |
struct stasis_rest_handlers* children[] |
int is_wildcard |
If true (non-zero), path_segment is a wildcard, and will match all values.
Value of the segement will be passed into the path_vars parameter of the callback.
Definition at line 78 of file ari.h.
Referenced by ast_ari_invoke().
size_t num_children |
Number of children in the children array
Definition at line 84 of file ari.h.
Referenced by ast_ari_add_handler(), and ast_ari_remove_handler().
const char* path_segment |
struct ast_websocket_server* ws_server |
WebSocket server for handling WebSocket upgrades.
Definition at line 82 of file ari.h.
Referenced by load_module(), and unload_module().