20 lines
281 B
Markdown
20 lines
281 B
Markdown
|
---
|
||
|
sidebar_label: ConnectOptions.headers
|
||
|
---
|
||
|
|
||
|
# ConnectOptions.headers property
|
||
|
|
||
|
Headers to use for the web socket connection.
|
||
|
|
||
|
#### Signature:
|
||
|
|
||
|
```typescript
|
||
|
interface ConnectOptions {
|
||
|
headers?: Record<string, string>;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
Only works in the Node.js environment.
|