(path: string, handler: WSServer)
| 316 | return Object.fromEntries(Object.entries(mapping).filter(([key]) => key.includes(path))); |
| 317 | }, |
| 318 | async addWebSocketHandler(path: string, handler: WSServer) { |
| 319 | server.registrations++; |
| 320 | mapping[path] = handler; |
| 321 | }, |
| 322 | async removeWebSocketHandler(path: string) { |
| 323 | server.removals++; |
| 324 | mapping[path]?.close(); |
nothing calls this directly
no outgoing calls
no test coverage detected