FoxoChat.js Packages
    Preparing search index...

    Interface Options

    All options to be passed when creating the REST client instance.

    interface Options {
        authPrefix: string;
        baseURL: string;
        enforceAuth: boolean;
        request(url: RequestInfo | URL, init: RequestInit): Promise<ResponseLike>;
    }
    Index

    Properties

    authPrefix: string

    The authorization prefix to use for requests.

    baseURL: string

    The base API url.

    enforceAuth: boolean

    Enforces authorization token requirement in auth required endpoints.

    Methods