class cterasdk.object.Agent.Agent(host, port=80, https=False, Portal=None)

Main class operating on a Agent

__init__(host, port=80, https=False, Portal=None)
  • host (str) – The fully qualified domain name, hostname or an IPv4 address of the Gateway

  • port (int,optional) – Set a custom port number (0 - 65535), defaults to 80

  • https (bool,optional) – Set to True to require HTTPS, defaults to False

  • Portal (cterasdk.object.Portal.Portal,optional) – The portal throught which the remote session was created, defaults to None