Interface Validator
🔧 Methods
validate
ts
validate(destination: string, url: string): Promise<void>
Validate the download result. It should throw ValidationError
if validation failed.
Parameters
- destination:
string
The result file - url:
string
The url where the file downloaded from
Return Type
Promise<void>
Defined in: packages/file-transfer/validator.ts:13