Skip to content

Commit

Permalink
add forceNew option (rodgc#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Captainfl4me authored Jan 4, 2023
1 parent b33e302 commit b7f8a00
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/config/socket-io.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ export interface SocketIoConfig {
* */
closeOnBeforeunload?: boolean;

/**
* Whether to create a new Manager instance. Default value: false
*/
forceNew ?: boolean;

// Additional options for NodeJS Engine.IO clients omitted: https://socket.io/docs/client-api/
};
}

0 comments on commit b7f8a00

Please sign in to comment.