5.6.4.2. vlcp.service.manage.webapi

Note

This document is generated from the source file.

View Source on GitHub

Created on 2015/12/2

author:hubo
class vlcp.service.manage.webapi.WebAPI(server)

Call module API from web. Free access to any module APIs may create serious security problems, make sure to configure this module properly.

__init__(server)

Constructor

class vlcp.service.manage.webapi.WebAPIHandler(parent)
__init__(parent)

Create the routine container.

Parameters:
  • scheduler – The scheduler. This must be set; if None is used, it must be set with container.bind(scheduler) before using.
  • daemon – If daemon = True, the main routine container.main is set to be a daemon routine. A daemon routine does not stop the scheduler from quitting; if all non-daemon routines are quit, the scheduler stops.
start(asyncStart=False)

Start container.main as the main routine.

Parameters:asyncStart – if True, start the routine in background. By default, the routine starts in foreground, which means it is executed to the first yield statement before returning. If the started routine raises an exception, the exception is re-raised to the caller of start