solarnetwork-api-core
    Preparing search index...

    Interface HostConfigInfo

    Network environment configuration.

    interface HostConfigInfo {
        host: string;
        hostname?: string;
        port?: string | number;
        protocol: string;
        proxyUrlPrefix?: string;
        [k: string]: any;
    }

    Indexable

    • [k: string]: any

      Arbitrary additional properties.

    Index

    Properties

    host: string

    The hostname.

    hostname?: string

    The hostname, in preference to the host value if provided.

    port?: string | number

    The port number.

    Can be a number or string, to support a browser Location object.

    protocol: string

    The protocol.

    proxyUrlPrefix?: string

    An optional proxy URL prefix, for example https://query.solarnetwork.net/1m.