共用方式為


IotHubClientTransportProtocol Enum

Definition

The protocol over which a transport (i.e., MQTT, AMQP) communicates.

public enum IotHubClientTransportProtocol
type IotHubClientTransportProtocol = 
Public Enum IotHubClientTransportProtocol
Inheritance
IotHubClientTransportProtocol

Fields

Name Value Description
Tcp 0

Communicate over TCP using the default port of the transport.

WebSocket 1

Communicate over web socket using port 443.

Applies to