tribler.core.restapi.webui_endpoint

Classes

WebUIEndpoint

This endpoint serves files used by the web UI.

Module Contents

class tribler.core.restapi.webui_endpoint.WebUIEndpoint

Bases: tribler.core.restapi.rest_endpoint.RESTEndpoint

This endpoint serves files used by the web UI.

path = '/ui'
_logger
webui_root
has_dist
session
async return_files(request: aiohttp.web.Request) tribler.core.restapi.rest_endpoint.RESTResponse | aiohttp.web.FileResponse

Return the file at the requested path.

async shutdown_task_manager() None

Shutdown the taskmanager.