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

HttpTransportOptions interface

Options structure for passing optional configuration parameters into the Http Transport. This is passed into <xref:Client.setOptions> as a property named http inside of an <xref:DeviceClientOptions> object.

Properties

agent

Optional Agent object to use with the Http connection

receivePolicy

Optional configuration parameters to use for receive polling.

Property Details

agent

Optional Agent object to use with the Http connection

agent?: Agent

Property Value

Agent

receivePolicy

Optional configuration parameters to use for receive polling.

receivePolicy?: HttpReceiverOptions

Property Value