pylabrobot.liquid_handling.backends.http.HTTPBackend.__init__#

HTTPBackend.__init__(host: str, port: int, num_channels: int, protocol: str = 'http', base_path: str = 'events')#

Create a new web socket backend.

Parameters:
  • host (str) – The hostname of the server.

  • port (int) – The port of the server.

  • protocol (str) – The protocol to use. Either http or https.

  • base_path (str) – The base path of the server. Note that events will be sent to base_path/<event> where <event> is the event identifier, such as /aspirate.

  • num_channels (int)