Function handleWebSockets
Returns a HTTP request handler that establishes web socket conections.
Prototypes
void delegate(HTTPServerRequest, HTTPServerResponse) handleWebSockets( void delegate(scope WebSocket) on_handshake ); void delegate(HTTPServerRequest, HTTPServerResponse) handleWebSockets( void function(scope WebSocket) on_handshake ); void delegate(HTTPServerRequest, HTTPServerResponse) handleWebSockets( void delegate(WebSocket) on_handshake ) deprecated; void delegate(HTTPServerRequest, HTTPServerResponse) handleWebSockets( void function(WebSocket) on_handshake ) deprecated;
Authors
Jan Krüger
Copyright
© 2012-2014 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.