TransportType Enum
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.
Transport types supported by the device and module clients - AMQP/TCP, HTTP 1.1, MQTT/TCP, AMQP/WS, MQTT/WS
public enum TransportType
type TransportType =
Public Enum TransportType
- Inheritance
-
TransportType
Fields
Name | Value | Description |
---|---|---|
Amqp | 0 | Advanced Message Queuing Protocol transport. Try AMQP over TCP first and fall back to AMQP over WebSocket if that fails |
Http1 | 1 | HyperText Transfer Protocol version 1 transport. |
Amqp_WebSocket_Only | 2 | Advanced Message Queuing Protocol transport over WebSocket only. |
Amqp_Tcp_Only | 3 | Advanced Message Queuing Protocol transport over native TCP only |
Mqtt | 4 | Message Queuing Telemetry Transport. Try Mqtt over TCP first and fall back to Mqtt over WebSocket if that fails |
Mqtt_WebSocket_Only | 5 | Message Queuing Telemetry Transport over Websocket only. |
Mqtt_Tcp_Only | 6 | Message Queuing Telemetry Transport over native TCP only |
Applies to
Azure SDK for .NET