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
functions
close
connectClosed
connectClosing
connectError
connectMessage
connectPong
getCloseCode
getCloseData
getConnectionType
getExtensions
getIoStream
getKeepaliveInterval
getMaxIncomingPayloadSize
getOrigin
getProtocol
getState
getUri
sendBinary
sendMessage
sendText
setKeepaliveInterval
setMaxIncomingPayloadSize
Get the current state of the WebSocket.