IHttpManager

interface IHttpManager

IHttpManager 默认提供 HttpManagerOkHttpManager 两种实现。

Author

Jenly Jenly

Inheritors

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun cancel()
取消下载
Link copied to clipboard
abstract fun download(url: String, saveFilePath: String, @Nullable requestProperty: Map<String, String>, callback: IHttpManager.DownloadCallback)
下载