httpserver¶
The http
module contains the API web server. This is a lightweight web server used by remotes to interact
with OpenLP. It uses JSON to communicate with the remotes.
-
class
openlp.plugins.remotes.lib.httpserver.
CustomHandler
(request, client_address, server)[source]¶ Bases:
http.server.BaseHTTPRequestHandler
,openlp.plugins.remotes.lib.httprouter.HttpRouter
Stateless session handler to handle the HTTP request and process it. This class handles just the overrides to the base methods and the logic to invoke the methods within the HttpRouter class. DO not try change the structure as this is as per the documentation.
-
class
openlp.plugins.remotes.lib.httpserver.
HttpThread
(server)[source]¶ Bases:
PyQt5.QtCore.QThread
A special Qt thread class to allow the HTTP server to run at the same time as the UI.
-
class
openlp.plugins.remotes.lib.httpserver.
OpenLPServer
[source]¶ Bases:
openlp.core.common.registryproperties.RegistryProperties