Skip to content

Commit b3de861

Browse files
authored
fix(typings): export extraHeaders option (#1410)
1 parent 66e4fdf commit b3de861

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/manager.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,12 @@ interface EngineOptions {
177177
*/
178178
rejectUnauthorized: boolean;
179179

180+
/**
181+
* Headers that will be passed for each request to the server (via xhr-polling and via websockets).
182+
* These values then can be used during handshake or for special proxies.
183+
*/
184+
extraHeaders?: { [header: string]: string };
185+
180186
/**
181187
* Whether to include credentials (cookies, authorization headers, TLS
182188
* client certificates, etc.) with cross-origin XHR polling requests

0 commit comments

Comments
 (0)