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:
stringThe result file - url:
stringThe url where the file downloaded from
Return Type
Promise<void>
Defined in: packages/file-transfer/validator.ts:13