vibe-d v0.9.4 (2021-09-30T12:24:53Z)
Home
Dub
Repo
connectWebSocket
index
vibe
http
websockets
Establishes a WebSocket connection at the specified endpoint.
WebSocket
connectWebSocket
(URL url, const(HTTPClientSettings) settings)
@
safe
@
safe
WebSocket
connectWebSocket
(
URL
url
,
const
(
HTTPClientSettings
)
settings
=
defaultSettings
)
void
connectWebSocket
(URL url, WebSocketHandshakeDelegate del, const(HTTPClientSettings) settings)
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.