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

HttpTransportSettings Class

Definition

Contains Http1 transport-specific settings for Service Client

public sealed class HttpTransportSettings
type HttpTransportSettings = class
Public NotInheritable Class HttpTransportSettings
Inheritance
HttpTransportSettings

Constructors

Name Description
HttpTransportSettings()

Initializes a new instance of the HttpTransportSettings class.

Properties

Name Description
ConnectionLeaseTimeoutMilliseconds

How long, in milliseconds, a given cached TCP connection created by this client's HTTP layer will live before being closed. If this value is set to any negative value, the connection lease will be infinite. If this value is set to 0, then the TCP connection will close after each HTTP request and a new TCP connection will be opened upon the next request.

Proxy

The web proxy that will be used to connect to IoT hub when using the HTTP protocol.

Applies to