pilot_drive.web package

Submodules

pilot_drive.web.web module

Module contains the static web file server

class pilot_drive.web.web.Web(logger: MasterLogger, port: int, relative_directory: str)

Bases: object

The class that serves the static web assets (the Vue frontend)

handler(request, client_address, server) None

The handler that passes the request params to the SimpleHttpRequestHandler, along with the directory path

Parameters:
  • request – The socket request object

  • client_address – The client address object

  • server – The socketserver.TCPServer object

main() None

starts the server, serving static assets

Module contents