@maschinenlesbar.org/regionalatlas-cli
    Preparing search index...

    Class RequestEngine

    Index
    • Build a fully-qualified URL from a path (on the data host) and optional query. The result carries the base URL's userinfo, if any: it is the URL a transport requests.

      Parameters

      Returns string

    • GET a fully-qualified absolute URL (e.g. the catalogue host) and parse JSON into T.

      Type Parameters

      • T

      Parameters

      Returns Promise<T>

    • text without the credentials of the base URL or of any absolute URL this engine requested (the catalogue): server text (an error body that echoes the request URL) and transport text (fetch's "Failed to fetch ") can carry them. The client uses it for the errors it builds itself (the ArcGIS envelope).

      Parameters

      • text: string

      Returns string