vibe-http ~master (2021-03-22T09:44:24Z)
Home
Dub
Repo
handleWebSocket
vibe
http
websockets
Establishes a web socket conection and passes it to the
on_handshake
delegate.
void
handleWebSocket
(WebSocketHandshakeDelegate on_handshake, HTTPServerRequest req, HTTPServerResponse res)
@
safe
@
safe
void
handleWebSocket
(
scope
WebSocketHandshakeDelegate
on_handshake
,
scope
HTTPServerRequest
req
,
scope
HTTPServerResponse
res
)
void
handleWebSocket
(void delegate(scope WebSocket) @(system) nothrow on_handshake, HTTPServerRequest req, HTTPServerResponse res)
void
handleWebSocket
(void delegate(scope WebSocket) @(safe) on_handshake, HTTPServerRequest req, HTTPServerResponse res)
void
handleWebSocket
(void delegate(scope WebSocket) @(system) on_handshake, HTTPServerRequest req, HTTPServerResponse res)
Meta
Source
See Implementation
vibe
http
websockets
aliases
WebSocketHandshakeDelegate
classes
IncomingWebSocketMessage
OutgoingWebSocketMessage
WebSocket
WebSocketException
enums
WebSocketCloseReason
functions
closeReasonString
connectWebSocket
connectWebSocketEx
handleWebSocket
handleWebSockets
Establishes a web socket conection and passes it to the on_handshake delegate.