你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MqttConnectProperties interface

MQTT CONNECT 数据包的属性。

属性

password

MQTT CONNECT 数据包中的密码字段。

protocolVersion

MQTT 协议版本。

username

MQTT CONNECT 数据包中的 username 字段。

userProperties

MQTT CONNECT 数据包中的用户属性。

属性详细信息

password

MQTT CONNECT 数据包中的密码字段。

password?: string

属性值

string

protocolVersion

MQTT 协议版本。

protocolVersion: number

属性值

number

username

MQTT CONNECT 数据包中的 username 字段。

username?: string

属性值

string

userProperties

MQTT CONNECT 数据包中的用户属性。

userProperties?: MqttUserProperty[]

属性值