# Package com.drake.net.interfaces

## Types

NetCallback
Link copied to clipboard
abstract class NetCallback<T> : Callback
Content copied to clipboard
提供泛型转换特性 相对于OkHttp的Callback新增三个回调函数: onSuccess onComplete 这三个函数都运行在主线程上
NetErrorHandler
Link copied to clipboard
open class NetErrorHandler
Content copied to clipboard
ProgressListener
Link copied to clipboard
abstract class ProgressListener(interval: Long)
Content copied to clipboard
进度监听器, 为下载和上传两者