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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應