malcolm.modules.web.infos

class malcolm.modules.web.infos.HandlerInfo(regexp: str, request_class: Type[tornado.web.RequestHandler], **kwargs: Any)[source]

Tornado RequestHandlers that should make up the webserver application

Parameters
  • regex – Path for this handler to get requests from. E.g. r”/ws”

  • request_class – Request handler to instantiate for this

  • **kwargs – Keyword args to be passed to request_class constructor