vibe-d v0.9.4 (2021-09-30T12:24:53Z)
Home
Dub
Repo
handleWebSocket
index
vibe
http
websockets
Scheduled for deprecation - use a
@safe
callback instead.
void
handleWebSocket
(WebSocketHandshakeDelegate on_handshake, HTTPServerRequest req, HTTPServerResponse res)
void
handleWebSocket
(void delegate(scope WebSocket) @(system) nothrow on_handshake, HTTPServerRequest req, HTTPServerResponse res)
@
safe
@
system
void
handleWebSocket
(
scope
void
delegate
(
scope
WebSocket
)
@
system
nothrow
on_handshake
,
scope
HTTPServerRequest
req
,
scope
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
index
vibe
http
websockets
aliases
WebSocketHandshakeDelegate
classes
IncomingWebSocketMessage
OutgoingWebSocketMessage
WebSocket
WebSocketException
enums
FrameOpcode
WebSocketCloseReason
functions
closeReasonString
connectWebSocket
connectWebSocketEx
handleWebSocket
handleWebSockets
Scheduled for deprecation - use a @safe callback instead.