In Node.js, what's “on”?

后端 未结 3 1446
长情又很酷
长情又很酷 2021-02-18 23:20

In official doc, there is some sample code:

var req = http.request(options, function(res) {
  console.log(\'STATUS: \' + res.statusCode);
  console.log(\'HEADERS         


        
3条回答
提交回复
热议问题