Interface HttpConnectionParameters

interface HttpConnectionParameters {
    address: string;
    fetchInterval: number;
    receiveBatchRequests?: boolean;
    tls?: boolean;
}

Properties

address: string

Address The IP Address/Domain to connect to, without protocol

fetchInterval: number

(ms) Sets a fixed interval in that the device is fetched for new messages, defaults to 5 seconds

receiveBatchRequests?: boolean

Enables receiving messages all at once, versus one per request

tls?: boolean

Enables transport layer security. Notes: Slower, devices' certificate must be trusted by the browser

Generated using TypeDoc