Methods
download
- download(url: string, filepath: string, options?: DownloadOptions): void
-
Parameters
-
url: string
-
filepath: string
-
Optional options: DownloadOptions
Returns void
downloadResource
- downloadResource(url: string, filepath: string, options?: DownloadOptions): Promise<void>
-
Parameters
-
url: string
-
filepath: string
-
Optional options: DownloadOptions
Returns Promise<void>
request
-
Parameters
-
url: string
-
Default value method: Method = "GET"
-
Optional body: Body
-
Returns Promise<Response>
Cancel all request