websocket icon indicating copy to clipboard operation
websocket copied to clipboard

Decode/Encode unaware of Selected Sub-Protocol

Open dansiviter opened this issue 5 years ago • 0 comments

Although the sub-protocol is negotiated with with the client, there is no way to know what that is as this is only available in Session#getNegotiatedSubprotocol() which is not available to Decoder or Encoder. The use-case is to have subtly different encoding/decoding based on sub-protocol.

dansiviter avatar Nov 06 '19 22:11 dansiviter