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.jsnodejsの要求コールバックの引数型
あなたは正確に何を言いたいですか? –