Getting IP Address in Hono #3853
Unanswered
ShivamSikotra11
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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