Skip to content

Commit 7193078

Browse files
fix(typings): export withCredentials option
Related: #1405
1 parent 625d146 commit 7193078

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/manager.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,13 @@ interface EngineOptions {
176176
* certificate information.
177177
*/
178178
rejectUnauthorized: boolean;
179+
180+
/**
181+
* Whether to include credentials (cookies, authorization headers, TLS
182+
* client certificates, etc.) with cross-origin XHR polling requests
183+
* @default false
184+
*/
185+
withCredentials: boolean;
179186
}
180187

181188
export interface ManagerOptions extends EngineOptions {

0 commit comments

Comments
 (0)