You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: