首页 Node.js核心模块手册

ClientRequest对象方法


方法 描述
on() 绑定事件
write() 发送数据
end() 结束请求,并发送数据,一切操作必须以end()结束
abort() 终止请求
setTimeout() 定时器