Others allow you to manually set the Sec-WebSocket-Protocol header directly. (AHC for instance)
HttpClient however throws an exception when trying to add the header.
Are there plans to support subprotocols in a generic way across all backends?
Or can I just open a PR adding it to HttpClientAsyncBackend, since that is what I need at the moment?
It seems there is no support for adding subprotocols to a websocket request.
For Akka backend you can customize the websocket request directly to solve the issue:
Others allow you to manually set the
Sec-WebSocket-Protocol
header directly. (AHC for instance) HttpClient however throws an exception when trying to add the header.Are there plans to support subprotocols in a generic way across all backends? Or can I just open a PR adding it to
HttpClientAsyncBackend
, since that is what I need at the moment?