var http = require('http');
var req = http.request({host:"www.google.com"})
req.on("response",function(res){
// ***IncomingMessage***
})
왜 콜백의 유형 인수가 IncomingMessage입니까? 네이티브 코드를 얻는 방법? 이는 github에의 링크입니다 다음 http
및 https
모듈의 문서에 따르면 https://github.com/nodejs/node/blob/v0.12/lib/http.jsnodej의 요청 콜백의 인수 유형
정확히 무엇을 말하고 싶습니까? –