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
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 protocol chosen via negotiation with the peer.