Flarum (v2.0.0-beta.3)
    Preparing search index...

    Interface FlarumRequestOptions<ResponseType>

    interface FlarumRequestOptions<ResponseType> {
        errorHandler?: (error: RequestError) => void;
        modifyText?: (responseText: string) => string;
        url: string;
    }

    Type Parameters

    • ResponseType

    Hierarchy

    Index

    Properties

    errorHandler?: (error: RequestError) => void
    modifyText?: (responseText: string) => string

    Manipulate the response text before it is parsed into JSON.

    This overrides any extract method provided.

    url: string