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
I'm testing an app that needs to know whether a WebSocket connection was done over ws:// or wss://. Currently, while I can override the scheme for HTTP requests, I cannot set the scheme used for WebSocket connections. Moreover, overriding this behavior via subclassing for example is quite difficult as the scheme is hard-coded inside the WebSocketSession.connect() method which is quite extensive.
It would be helpful if I could override the WS connection scheme and set it to wss:// or ws:// explicitly.
The text was updated successfully, but these errors were encountered:
I'm testing an app that needs to know whether a WebSocket connection was done over
ws://
orwss://
. Currently, while I can override the scheme for HTTP requests, I cannot set the scheme used for WebSocket connections. Moreover, overriding this behavior via subclassing for example is quite difficult as the scheme is hard-coded inside theWebSocketSession.connect()
method which is quite extensive.It would be helpful if I could override the WS connection scheme and set it to
wss://
orws://
explicitly.The text was updated successfully, but these errors were encountered: