> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # NodeSocketAdapter > There's a difference in searchParams between URL from lib and URL from url (node) that makes using the same not possible for us. There's a difference in `searchParams` between URL from `lib` and URL from `url` (node) that makes using the same not possible for us. ## **Constructors** ### Constructor ```ts new NodeSocketAdapter(address, options?): NodeSocketClient ``` #### Parameters **`address`** `string | URL` — required WebSocket URL to connect to. See [`URL`](https://developer.mozilla.org/en-US/docs/Web/API/URL). --- **`options`** `unknown` Underlying socket-library options. --- #### Returns `NodeSocketClient` ### Constructor ```ts new NodeSocketAdapter(address, protocols?, options?): NodeSocketClient ``` #### Parameters **`address`** `string | URL` — required WebSocket URL to connect to. See [`URL`](https://developer.mozilla.org/en-US/docs/Web/API/URL). --- **`protocols`** `string | string[]` Optional WebSocket sub-protocol(s) to request. --- **`options`** `unknown` Underlying socket-library options. --- #### Returns `NodeSocketClient` > There's a difference in searchParams between URL from lib and URL from url (node) that makes using the same not possible for us.