Dear @AgaveJoe ,
Thank you very much for your help.
You mean Sec-WebSocket-Accept header??? The ClientWebSocket class does not expose the header value. See the source code on GitHub. I'm sure you can modify the client a bit to expose the value
yes. It is Sec-WebSocket-Accept header. I am not sure how i can modify the client, can you give some snippet of code.
See the proxy option in ClientWebSocket class docs.
Thank you very much.
A network sniffer like Wireshark. Over modify the ClientWebSocket similar to question 1.
I mean If the socket server returns 401 or other status code how I can access the response headers from client side?
Also, how ClientWebSocket can receive pong message ?
Thanks for your help.
Regards,
Kumar
Dear AgaveJoe,
Thank you very much for your help.
yes. It is Sec-WebSocket-Accept header. I am not sure how i can modify the client, can you give some snippet of code.
Thank you very much.
I mean If the socket server returns 401 or other status code how I can access the response headers from client side?
Also, how ClientWebSocket can receive pong message ?
Thanks for your help.
Regards,
Kumar