@aracna/core - v1.5.0
    Preparing search index...

    Class GraphQlAPI<T, U>

    The GraphQlAPI class extends the RestAPI class and manages the requests to a GraphQL API.

    • The base URL of the API is automatically concatenated to the path of the requests.
    • The config of the API is automatically merged with the config of the requests.
    • The status of the requests is automatically tracked and can be accessed through the status property.
    • The requests are sent with the Fetch class, so all features of the Fetch class are available.

    Aracna Reference

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    baseURL: string

    The base URL of the REST API.

    config: T

    The default config of the REST API.

    status: Status

    The status of the requests.

    Methods

    post