Sat Apr 26 2014 22:03:27

Asterisk developer's documentation


websocket_protocol Struct Reference

Structure definition for protocols. More...

Collaboration diagram for websocket_protocol:

Data Fields

ast_websocket_callback callback
char * name

Detailed Description

Structure definition for protocols.

Definition at line 85 of file res_http_websocket.c.


Field Documentation

Callback called when a new session is established

Definition at line 87 of file res_http_websocket.c.

Referenced by ast_websocket_add_protocol(), ast_websocket_remove_protocol(), and websocket_callback().

char* name

Name of the protocol

Definition at line 86 of file res_http_websocket.c.

Referenced by ast_websocket_add_protocol(), protocol_cmp_fn(), protocol_destroy_fn(), and protocol_hash_fn().


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