Instance class - Platform - BlueCat Gateway - 24.3.3

Gateway Administration Guide

ft:locale
en-US
Product name
BlueCat Gateway
Version
24.3.3

Click a link to jump to the indicated section.

class bluecat_libraries.http_client.Instance(url, logger=None)

Bases: object

Definition of a service instance that can be used as a target by a client.

Parameters Description
url (str)

URL of the service.

logger (Logger)

Logger to be used for logging. This value is currently not utilized.

Variables Description
url

URL of the service.

api_url_base

URL to be used as a base for constructing paths to the service’s endpoints.

New in version 20.6.1.

parse_url()

Process the service’s URL and construct the value of the base URL of the service’s API.