okhttp
okhttp copied to clipboard
Interceptor access to WebSocket Connection
Feature Request : when use web socket, I want to get dns ip result which tcp connect success
This kind of thing is available on the connection in an interceptor for regular calls, but not for web sockets.
+1
Or at least make it possible to set http headers on the request that opens the socket
Would love this as well - trying to make a HttpLoggingInterceptor equivalent for websockets seems impossible at this point.
Yes, pleaaase. I would love this for logging
Did this ever get released, I'm looking to log my websocket traffic in a similar fashion to my http traffic.
BTW Interceptor and Logger are probably two different features. I suspect we should implement Logger first.
Yeah, would be nice to have some kind of logging
Related issue https://github.com/square/okhttp/issues/5833 for logging
This would be great to have +1
+1
+1
Closing as low priority. Not implemented after almost 5 years.