Interface IGetStateServiceConfig

Extend common IServiceConfig with special parameters that only apply to the polling characteristics of this service.

interface IGetStateServiceConfig {
    basicAuth: boolean;
    controllerUrl: string;
    errorTolerance: number;
    password?: string;
    requestHeaders?: {
        [key: string]: string;
    };
    timeout: number;
    updateInterval: number;
    username?: string;
}

Hierarchy (view full)

Properties

basicAuth: boolean

Enable HTTP basic auth.

controllerUrl: string

Controller URL must be a valid URL string with leading protocol scheme (e.g. 'http://') and should point to the ProCon.IP HTTP root. This address will be combined with the endpoint (e.g. "/GetState.csv") to build the request address. A trailing slash will be added automatically if needed.

errorTolerance: number

Define how many HTTP request errors to tolerate before raising an error.

password?: string

HTTP basic auth pass. Optional.

requestHeaders?: {
    [key: string]: string;
}
timeout: number

Define request timeout.

updateInterval: number

Interval [ms] between two webservice polling requests.

username?: string

HTTP basic auth username. Optional.