您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

MqttTransportOptions interface

Options which are specific to the MQTT transport This is passed into <xref:Client.setOptions> as a property named mqtt inside of an <xref:DeviceClientOptions> object.

Properties

webSocketAgent

Optional Agent object to use with MQTT-WS connections

Property Details

webSocketAgent

Optional Agent object to use with MQTT-WS connections

webSocketAgent?: Agent

Property Value

Agent