Closed f33r0 closed 10 months ago
Hello everyone. What I should do, if address contains # ? wscat gives an error: SyntaxError: The URL contains a fragment identifier
SyntaxError: The URL contains a fragment identifier
You can use the query arguments but the hash is not allowed.
new WebSocket('wss://websocket-echo.com/?foo=bar') // Works. new WebSocket('wss://websocket-echo.com/?foo=bar#baz') // Throws an error.
Hello everyone. What I should do, if address contains # ? wscat gives an error:
SyntaxError: The URL contains a fragment identifier