Skip to content

getHeader and getQuery return empty objects #177

Answered by coder456
arabyalhomsi asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #177 on December 09, 2020 12:01.