How does http.createServer() know the parameters of the callback?

后端 未结 0 432
暗喜
暗喜 2021-01-01 10:59

http.createServer((req,res)=>{});

how the createserver function knows that the callback function has \'req\' for incomingmessage object and \'res\' for serverrespo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题