cef_server_handler_t.on_web_socket_message

Called when |server| receives an WebSocket message. |connection_id| uniquely identifies the connection, |data| is the message content and |data_size| is the size of |data| in bytes. Do not keep a reference to |data| outside of this function. See OnWebSocketRequest documentation for intended usage.

struct cef_server_handler_t
extern (System)
void function(cef_server_handler_t* self, cef_server_t* server, int connection_id, const(void)* data, size_t data_size) nothrow on_web_socket_message;

Meta