Interface FlarumRequestOptions<ResponseType>

Type Parameters

  • ResponseType

Hierarchy

  • Omit<Mithril.RequestOptions<ResponseType>, "extract">
    • FlarumRequestOptions

Properties

errorHandler?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

modifyText?: ((responseText) => string)

Type declaration

    • (responseText): string
    • Manipulate the response text before it is parsed into JSON.

      This overrides any extract method provided.

      Parameters

      • responseText: string

      Returns string

url: string

Generated using TypeDoc v0.24.8