Documentation
Dlang.org
WebsocketConnection.getState
soup
websocket_connection
WebsocketConnection
Get the current state of the WebSocket.
class
WebsocketConnection
soup.types.WebsocketState
getState
(
)
Return Value
Type:
soup
.
types
.
WebsocketState
the state
soup
websocket_connection
WebsocketConnection
constructors
this
functions
close
connectClosed
connectClosing
connectError
connectMessage
connectPong
getCloseCode
getCloseData
getConnectionType
getExtensions
getIoStream
getKeepaliveInterval
getMaxIncomingPayloadSize
getOrigin
getProtocol
getState
getUri
self
sendBinary
sendMessage
sendText
setKeepaliveInterval
setMaxIncomingPayloadSize
properties
_gType
keepaliveInterval
maxIncomingPayloadSize
state
static functions
_getGType
Get the current state of the WebSocket.