Interface RequestProps

Hierarchy

  • RequestProps

Properties

failure?: ((status, statusText, userData) => void)

Type declaration

    • (status, statusText, userData): void
    • Parameters

      • status: number
      • statusText: string
      • userData: any

      Returns void

headers?: string[]
method?: "GET" | "POST"
params?: any
progress?: ((length, total, display) => void)

Type declaration

    • (length, total, display): void
    • Parameters

      • length: number
      • total: number
      • display: string

      Returns void

responseType?: "text" | "arraybuffer" | "json"
success: ((data, userData) => void)

Type declaration

    • (data, userData): void
    • Parameters

      • data: any
      • userData: any

      Returns void

timeout?: number
url: string
userData?: any

Generated using TypeDoc