We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e4fdf commit b3de861Copy full SHA for b3de861
lib/manager.ts
@@ -177,6 +177,12 @@ interface EngineOptions {
177
*/
178
rejectUnauthorized: boolean;
179
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
+
186
/**
187
* Whether to include credentials (cookies, authorization headers, TLS
188
* client certificates, etc.) with cross-origin XHR polling requests
0 commit comments