Type aliases
Headers
Headers: object
Type declaration
-
[key: string]: string | string[]
Functions
getBinary
- getBinary(url: string): Promise<ArrayBuffer>
- getBinary(options: HttpRequestOptions): Promise<ArrayBuffer>
-
Parameters
Returns Promise<ArrayBuffer>
-
Parameters
Returns Promise<ArrayBuffer>
getFile
- getFile(url: string, destinationFilePath?: string): Promise<File>
- getFile(options: HttpRequestOptions, destinationFilePath?: string): Promise<File>
-
Parameters
-
url: string
-
Optional destinationFilePath: string
Returns Promise<File>
-
Parameters
-
-
Optional destinationFilePath: string
Returns Promise<File>
getImage
-
Parameters
-
Parameters
getJSON
-
Type parameters
Parameters
Returns Promise<T>
-
Type parameters
Parameters
Returns Promise<T>
getString
- getString(url: string): Promise<string>
- getString(options: HttpRequestOptions): Promise<string>
-
Parameters
Returns Promise<string>
-
Parameters
Returns Promise<string>
request
-
Parameters
Legend
- Module
- Object literal
- Variable
- Function
- Function with type parameter
- Index signature
- Type alias
- Enumeration
- Enumeration member
- Property
- Method
- Interface
- Interface with type parameter
- Constructor
- Property
- Method
- Index signature
- Class
- Class with type parameter
- Constructor
- Property
- Method
- Accessor
- Index signature
- Inherited constructor
- Inherited property
- Inherited method
- Inherited accessor
- Protected property
- Protected method
- Protected accessor
- Private property
- Private method
- Private accessor
- Static property
- Static method