Share via


MqttConnectProperties interface

The properties of the MQTT CONNECT packet.

Properties

password

The password field in the MQTT CONNECT packet.

protocolVersion

MQTT protocol version.

username

The username field in the MQTT CONNECT packet.

userProperties

The user properties in the MQTT CONNECT packet.

Property Details

password

The password field in the MQTT CONNECT packet.

password?: string

Property Value

string

protocolVersion

MQTT protocol version.

protocolVersion: number

Property Value

number

username

The username field in the MQTT CONNECT packet.

username?: string

Property Value

string

userProperties

The user properties in the MQTT CONNECT packet.

userProperties?: MqttUserProperty[]

Property Value