Documentation
Dlang.org
WebsocketConnection.getProtocol
soup
websocket_connection
WebsocketConnection
Get the protocol chosen via negotiation with the peer.
class
WebsocketConnection
string
getProtocol
(
)
Return Value
Type:
string
the chosen protocol
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 protocol chosen via negotiation with the peer.