tribler.core.restapi.shutdown_endpoint

Classes

ShutdownEndpoint

With this endpoint you can shut down Tribler.

Module Contents

class tribler.core.restapi.shutdown_endpoint.ShutdownEndpoint(session: tribler.core.session.Session)

Bases: tribler.core.restapi.rest_endpoint.RESTEndpoint

With this endpoint you can shut down Tribler.

path = '/api/shutdown'
session
shutdown_request(request: aiohttp.web.Request) tribler.core.restapi.rest_endpoint.RESTResponse

Shutdown Tribler.