malcolm.modules.web.infos¶
-
class
malcolm.modules.web.infos.HandlerInfo(regexp: str, request_class: Type[<MagicMock name='mock.RequestHandler' id='139916663443664'>], **kwargs)[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