HttpEventType
不同种类的 HttpEvent
的枚举类型。
Type enumeration for the different kinds of HttpEvent
.
enum HttpEventType {
Sent
UploadProgress
ResponseHeader
DownloadProgress
Response
User
}
成员列表
成员 | 说明 |
---|---|
Sent | 该请求已经在线路上发出了。 The request was sent out over the wire. |
UploadProgress | 收到了上传进度事件。 An upload progress event was received. |
ResponseHeader | 收到了响应状态码和响应头。 The response status code and headers were received. |
DownloadProgress | 收到了下载进度事件。 A download progress event was received. |
Response | 收到了包括响应体在内的完整响应对象。 The full response including the body was received. |
User | 来自拦截器或后端的自定义事件。 A custom event from an interceptor or a backend. |