vibe-d v0.9.8-alpha.3 (2023-10-20T08:14:46Z)
Home
Dub
Repo
connectWebSocket
index
vibe
http
websockets
Establishes a WebSocket connection at the specified endpoint.
WebSocket
connectWebSocket
(URL url, const(HTTPClientSettings) settings)
void
connectWebSocket
(URL url, WebSocketHandshakeDelegate del, const(HTTPClientSettings) settings)
@
safe
@
safe
void
connectWebSocket
(
URL
url
,
scope
WebSocketHandshakeDelegate
del
,
const
(
HTTPClientSettings
)
settings
=
defaultSettings
)
void
connectWebSocket
(URL url, void delegate(scope WebSocket) @(system) del, const(HTTPClientSettings) settings)
void
connectWebSocket
(URL url, void delegate(scope WebSocket) @(system) nothrow del, const(HTTPClientSettings) settings)
void
connectWebSocket
(URL url, void delegate(scope WebSocket) @(safe) del, const(HTTPClientSettings) settings)
Meta
Source
See Implementation
index
vibe
http
websockets
aliases
WebSocketHandshakeDelegate
classes
IncomingWebSocketMessage
OutgoingWebSocketMessage
WebSocket
WebSocketException
enums
FrameOpcode
WebSocketCloseReason
functions
closeReasonString
connectWebSocket
connectWebSocketEx
handleWebSocket
handleWebSockets
Establishes a WebSocket connection at the specified endpoint.