Optionalnamespaces: string | string[]In case you need to do something that this lib cannot do. (e.g.: socket.io v4.x.x methods)
Optionalopts: Partial<ServerOptions>Optionalsrv: number | Server<typeof IncomingMessage, typeof ServerResponse>Optionalopts: Partial<ServerOptions>Optionalopts: Partial<ServerOptions>In case you need to do something that this lib cannot do. (e.g.: socket.io v4.x.x methods)
Limits application to some namespaces.