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 c8dfbb1 commit 35d27dfCopy full SHA for 35d27df
lib/manager.ts
@@ -123,10 +123,10 @@ interface EngineOptions {
123
* Are we only interested in transports that support binary?
124
*/
125
onlyBinaryUpgrades: boolean;
126
-
+
127
/**
128
* Timeout for xhr-polling requests in milliseconds (0) (only for polling transport)
129
- */
+ */
130
requestTimeout: number;
131
132
@@ -197,6 +197,12 @@ interface EngineOptions {
197
* @default false
198
199
withCredentials: boolean;
200
201
+ /**
202
+ * Whether to automatically close the connection whenever the beforeunload event is received.
203
+ * @default true
204
205
+ closeOnBeforeunload: boolean;
206
}
207
208
export interface ManagerOptions extends EngineOptions {
0 commit comments