masto
    Preparing search index...

    Interface MastoHttpConfigProps

    interface MastoHttpConfigProps {
        accessToken?: string;
        requestInit?: Omit<RequestInit, "body" | "method">;
        timeout?: number;
        url: string;
    }
    Index

    Properties

    accessToken?: string

    Access token for the REST API.

    Please refer to the quickstart for how to get an access token.

    requestInit?: Omit<RequestInit, "body" | "method">

    Additional options for the fetch function.

    timeout?: number

    Timeout milliseconds for the fetch request.

    Defaults to browser's default timeout.

    url: string

    REST API URL for your Mastodon instance.