import { WebSocketRouter } from "https://deno.land/x/danet@2.4.1/src/router/websocket/router.ts";
Constructors
new
WebSocketRouter(injector: Injector,
guardExecutor?: GuardExecutor,
filterExecutor?: FilterExecutor,
router: Application,
middlewareExecutor?,
Methods
private
handleConnectionRequest(topicRouter: SmartRouter<unknown>, Controller: Constructor)private
onConnection()private
onMessage(topicRouter: SmartRouter<unknown>,
Controller: Constructor,
controllerInstance: any,
socket: WebSocket,
private
registerTopic()registerController(Controller: Constructor, endpoint: string)