These are chat archives for cherrypy/cherrypy

10th
Aug 2016
Sviatoslav Sydorenko
@webknjaz
Aug 10 2016 12:33
Hi @agvse, it's not WebSockets issue,
obviously /ws uses normal class based routing, if you want to use RoutesDispatcher try specifying it explicitly
e.g.
conf = {...,
    '/ws': {
        'tools.websocket.on': True,
        'tools.websocket.handler_cls': WSWebSocketHandler,
        'request.dispatch': your_routes_instance,
    }
}