Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FlarumRequestOptions<ResponseType>

Type parameters

  • ResponseType

Hierarchy

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

Index

Properties

url

url: string

Methods

Optional errorHandler

Optional extract

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

    deprecated

    Please use modifyText instead.

    Parameters

    • responseText: string

    Returns string

Optional modifyText

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

    This overrides any extract method provided.

    Parameters

    • responseText: string

    Returns string

Generated using TypeDoc version 0.22.10