Interface RequestOptions<M, K>

Type Parameters

Hierarchy

  • RequestOptions

Properties

cache?: boolean
data?: any
file?: File
headers?: RequestHeaders
method?: M
onProgress?: ((percentComplete, event) => void)

Type declaration

    • (percentComplete, event): void
    • Parameters

      • percentComplete: number
      • event: ProgressEvent<EventTarget>

      Returns void

params?: RequestItemsParams<K>
responseType?: "json" | "blob"
signal?: AbortSignal
withCredentials?: boolean

Generated using TypeDoc