open fun subProtocol(): String
Returns the websocket sub protocol selected by the websocket handshake. On the server, the value will be null when the handler receives the websocket callback as the handshake will not be completed yet.
null
Return