* Namespace constructor. * * @param server instance * @param name
(
server: Server<ListenEvents, EmitEvents, ServerSideEvents, SocketData>,
name: string
)
| 163 | * @param name |
| 164 | */ |
| 165 | constructor( |
| 166 | server: Server<ListenEvents, EmitEvents, ServerSideEvents, SocketData>, |
| 167 | name: string |
| 168 | ) { |
| 169 | super(); |
| 170 | this.server = server; |
| 171 | this.name = name; |
| 172 | this._initAdapter(); |
| 173 | } |
| 174 | |
| 175 | /** |
| 176 | * Initializes the `Adapter` for this nsp. |
nothing calls this directly
no test coverage detected