Home Reference Source
public class | source

DownloadHelper

You can directly use an instance of this class. downloadHelper

Method Summary

Public Methods
public

async downloadFile(address: *, timeout: *): *

public

async downloadMultipleFiles(addresses: *, timeout: number): *

public

async post(request: *, data: *, timeout: number): *

Public Methods

public async downloadFile(address: *, timeout: *): * source

Params:

NameTypeAttributeDescription
address *
timeout *

Return:

*

public async downloadMultipleFiles(addresses: *, timeout: number): * source

Params:

NameTypeAttributeDescription
addresses *
timeout number
  • optional
  • default: 5000

Return:

*

public async post(request: *, data: *, timeout: number): * source

Params:

NameTypeAttributeDescription
request *
data *
timeout number
  • optional
  • default: 20000

Return:

*