Hi,
I am learning and using node-libcurl for my application, it is a very good library in nodejs. I love it very much.
But in fact I am facing new problem connecting websocket using ssl.
Describe the bug
I have followed your 21-websockets-client.js example but am unable to read the Response Headers returned when connecting to any https(wss) socket server.
Response:
let receivedData = receiveData(easyHandle);
console.log(receivedData.toString());
[
'\x00\x00\x12\x04\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00�\x00\x04\x00\x01\x00\x00\x00\x05\x00�� �\x00\x00\x04\b\x00\x00\x00\x00\x00\x7F�\x00'
]
Can you try to test and write an example of websocket connecting to https using ssl?.
This is very useful to use with real servers.
Here is the server and I use it to test:
wss://demo.piesocket.com/v3/channel_123?api_key=VCXCEuvhGcBDP7XhiJJUDvR1e1D3eiVjgZ9VRiaV¬ify_self
(https://www.piesocket.com/websocket-tester)
Thank you very much for this.
Hi, I am learning and using node-libcurl for my application, it is a very good library in nodejs. I love it very much. But in fact I am facing new problem connecting websocket using ssl.
Describe the bug I have followed your 21-websockets-client.js example but am unable to read the Response Headers returned when connecting to any https(wss) socket server.
Response:
Can you try to test and write an example of websocket connecting to https using ssl?. This is very useful to use with real servers. Here is the server and I use it to test: wss://demo.piesocket.com/v3/channel_123?api_key=VCXCEuvhGcBDP7XhiJJUDvR1e1D3eiVjgZ9VRiaV¬ify_self (https://www.piesocket.com/websocket-tester) Thank you very much for this.
Version information:
OS: Node.js Version: 16.18.1