Config
Configuration class for the StreamPipes client.
StreamPipesClientConfig(credential_provider, host_address, https_disabled=False, port=80, additional_headers=dict())
dataclass
¶
Configure the StreamPipes client in accordance to the actual StreamPipes instance to connect to.
An instance is provided to the StreamPipesClient
to configure it properly.
PARAMETER | DESCRIPTION |
---|---|
credential_provider |
Provides the credentials to authenticate with the StreamPipes API.
TYPE:
|
host_address |
Host address of the StreamPipes instance to connect to.
Should be provided without the protocol/scheme, e.g. as
TYPE:
|
https_disabled |
Determines whether https is used to connect to StreamPipes.
TYPE:
|
port |
Specifies the port under which the StreamPipes API is available,
e.g.,
TYPE:
|
additional_headers |
Specifies additional HTTP headers that should be sent with each request, e.g., proxy headers
TYPE:
|
Examples: