你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.