vibe-d ~master (2022-11-16T10:14:41Z)
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.