There’s a difference in searchParams between URL from
lib and URL from url (node) that makes using the same
not possible for us.
WebSocket URL to connect to. See URL.
Underlying socket-library options.
NodeSocketClient
WebSocket URL to connect to. See URL.
Optional WebSocket sub-protocol(s) to request.
Underlying socket-library options.
NodeSocketClient