Skip to content

Commit

Permalink
fix(typings): export extraHeaders option (#1410)
Browse files Browse the repository at this point in the history
  • Loading branch information
justLuiz authored Nov 20, 2020
1 parent 66e4fdf commit b3de861
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@ interface EngineOptions {
*/
rejectUnauthorized: boolean;

/**
* Headers that will be passed for each request to the server (via xhr-polling and via websockets).
* These values then can be used during handshake or for special proxies.
*/
extraHeaders?: { [header: string]: string };

/**
* Whether to include credentials (cookies, authorization headers, TLS
* client certificates, etc.) with cross-origin XHR polling requests
Expand Down

0 comments on commit b3de861

Please sign in to comment.