# Interface: IDownloader

下载器。

## Table of contents

### Properties

- REAL\_DOWNLOADER
- inWX

### Methods

- LOAD

## Properties

### REAL\_DOWNLOADER

• **REAL\_DOWNLOADER**: [`IRealDownloader`](IRealDownloader)

___

### inWX

• **inWX**: `boolean`

## Methods

### LOAD

▸ **LOAD**(`options`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `options` | `Object` |
| `options.onError` | (`error`: `Error`) => `void` |
| `options.onLoad` | (`res`: { `data`: `ArrayBuffer` ; `filePath`: `string`  }) => `void` |
| `options.encoding` | ``"binary"`` \| ``"utf-8"`` |
| `options.src` | `string` |

#### Returns

`void`
