Documentation
Dlang.org
WebsocketConnection.getConnectionType
soup
websocket_connection
WebsocketConnection
Get the connection type (client/server) of the connection.
class
WebsocketConnection
soup.types.WebsocketConnectionType
getConnectionType
(
)
Return Value
Type:
soup
.
types
.
WebsocketConnectionType
the connection type
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 connection type (client/server) of the connection.