Share via


ForwardProxy Class

The configuration settings of a forward proxy used to make the requests.

Constructor

ForwardProxy(*, convention: str | _models.ForwardProxyConvention | None = None, custom_host_header_name: str | None = None, custom_proto_header_name: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
convention

The convention used to determine the url of the request made. Known values are: "NoProxy", "Standard", and "Custom".

Default value: None
custom_host_header_name
str

The name of the header containing the host of the request.

Default value: None
custom_proto_header_name
str

The name of the header containing the scheme of the request.

Default value: None

Variables

Name Description
convention

The convention used to determine the url of the request made. Known values are: "NoProxy", "Standard", and "Custom".

custom_host_header_name
str

The name of the header containing the host of the request.

custom_proto_header_name
str

The name of the header containing the scheme of the request.