ProgServer#

prog_server.is_running()#

Check if the server is running.

prog_server.run(**kwargs)#

Start the server and block until it is stopped.

Parameters
  • host (str, optional) – Server host. Defaults to ‘127.0.0.1’.

  • port (int, optional) – Server port. Defaults to 8555.

  • debug (bool, optional) – If the server is started in debug mode

prog_server.start(timeout=10, **kwargs)#

Start the server (not blocking).

Parameters

timeout (float, optional) – Timeout in seconds for starting the service

Keyword Arguments
  • host (str, optional) – Server host. Defaults to ‘127.0.0.1’.

  • port (int, optional) – Server port. Defaults to 8555.

  • debug (bool, optional) – If the server is started in debug mode

prog_server.stop(timeout=10)#

Stop the server.

Parameters

timeout (float, optional) – Timeout in seconds for starting the service