getHeader and getQuery return empty objects #177
Answered
by
coder456
arabyalhomsi
asked this question in
Q&A
|
I am running uWebSockets.js on a |
Answered by
coder456
Aug 11, 2019
Replies: 2 comments
|
its used like this |
0 replies
|
Thank you very much! worked yeah. I also messed it up because I put the following two lines under my |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
its used like this
req.getHeader('headername')returns the value of the header, needs to be lowercase https://unetworking.github.io/uWebSockets.js/generated/interfaces/httprequest.html#getheader