Share via


ServiceClientTransportSettings Class

Definition

The transport settings configurable on a service client instance.

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

Constructors

ServiceClientTransportSettings()

Creates an instance of ServiceClientTransportSettings with the default proxy settings.

Properties

AmqpProxy

The web proxy that will be used to connect to IoT hub when using the AMQP over web sockets.

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.

HttpProxy

The web proxy that will be used to connect to IoT hub when operations must execute over HTTP.

Applies to