Class: SensorWebApi

SensorWebApi(networkPropertiesopt)

new SensorWebApi(networkPropertiesopt)

Parameters:
Name Type Attributes Default Description
networkProperties Object <optional>
{}
Properties
Name Type Attributes Default Description
endpointUrl String defines the Http(s) endpoint URL
tls Boolean defines is use Http or Https secure protocol for fetching data
streamProtocol String <optional>
'ws' the Stream protocol to use: 'ws' pr 'mqtt'
mqttOpts Object <optional>
{} the Mqtt options if stream protocol is 'mqtt'
Properties
Name Type Description
prefix String the Mqtt prefix value
endpointUrl String the Mqtt specific endpointUrl
connectorOpts Object Specific connector options
Source: