填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

HttpEvent

响应流中所有可能出现的事件的联合类型。

Union type for all possible events on the response stream.

查看"说明"...

      
      type HttpEvent<T> = HttpSentEvent | HttpHeaderResponse | HttpResponse<T> | HttpProgressEvent | HttpUserEvent<T>;
    

说明

其类型取决于所期待的响应类型。

Typed according to the expected type of the response.