> 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.

# connectionTimeout

> WebSocket connection timeout in seconds.

```ts
get connectionTimeout(): number
set connectionTimeout(seconds: number)
```

WebSocket connection timeout in seconds.

## **Parameters**

**`seconds`** `number` — required

Connection attempt timeout, in seconds.

---

## **Examples**

```ts
// Read
console.log(client.preferences.connectionTimeout);

// Write
client.preferences.connectionTimeout = 10;
```