Base handler#
- class ExtensionBaseHandler(*args, **kwargs)[source]#
BaseHandler for all server-extension handler
- data_received(chunk: bytes) Optional[Awaitable[None]][source]#
Implement this method to handle streamed request data.
Requires the .stream_request_body decorator.
May be a coroutine for flow control.
- property grader_authentication_header#
Returns the authentication header
- Returns
authentication header
- Return type
dict
- http_client = <tornado.httpclient.HTTPClient object>#
- request_service = <grader_labextension.services.request.RequestService object>#
- property service_base_url#