다음을 통해 공유


TransportType Enum

Definition

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