Getting IP Address in Hono #3853
Unanswered
ShivamSikotra11
asked this question in
Q&A
Replies: 2 comments
-
Using |
Beta Was this translation helpful? Give feedback.
0 replies
-
I believe its
|
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
In node.js we can get the ip address using "request.ip" which i want to use for rate limiting but how to get in hono I have tried following options but not getting satisfying results:
c.req.header('x-forwarded-for')
getConnInfo(c);
c.req.raw.headers.get("CF-Connecting-IP")
c.req.header("X-Content-Type-Options")
Beta Was this translation helpful? Give feedback.
All reactions