Interface ApiQueryRequestOptions<ResponseType>

Type Parameters

  • ResponseType

Hierarchy

Properties

errorHandler?: ((error: RequestError<string>) => void)

Type declaration

extract?: ((responseText: string) => string)

Type declaration

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

      Deprecated

      Please use modifyText instead.

      Parameters

      • responseText: string

      Returns string

modifyText?: ((responseText: string) => string)

Type declaration

    • (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 v0.23.24