How to get the original request object in koa2?
phpcn_u1582
phpcn_u1582 2017-05-16 13:22:01
0
1
506

ctx.request The object is a request object encapsulated by koa, so how to get the original # in http.createServer ##requestWhere is the object?

phpcn_u1582
phpcn_u1582

reply all(1)
刘奇

ctx.req就是http.createServer中的原始的request

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!