HttpTransportSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains Http1 transport-specific settings for Service Client
public sealed class HttpTransportSettings
type HttpTransportSettings = class
Public NotInheritable Class HttpTransportSettings
- Inheritance
-
HttpTransportSettings
Constructors
HttpTransportSettings() |
Initializes a new instance of the HttpTransportSettings class. |
Properties
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
Azure SDK for .NET