Readonly
contengbody字节长度。null表示响应头中未指定内容长度,采用chunked transfer模式。
Readonly
content内容类型
Readonly
headers响应头
Readonly
status响应状态码
触发事件
事件类型
Rest
...args: { 事件参数
取消监听
Rest
...args: { 添加监听
Event type
A callback function to process the incomming event
Rest
...args: { 添加一次性监听
Event type
A callback function to process the incomming event
Rest
...args: { 读取数据到指定缓冲对象。
实际读取的字节数。
缓冲对象
Http客户端请求得到的响应