How to get the IP #1187
Unanswered
LapsTimeOFF
asked this question in
Q&A
Replies: 1 comment
-
Hono only deals with Web-standard APIs, so it does not need to provide a method for users to retrieve IP addresses. Therefore, the ability to get an IP address depends on the platform, not Hono's core. For example, on Cloudflare Workers, you can get https://developers.cloudflare.com/workers/runtime-apis/request/#incomingrequestcfproperties For Node.js, we have our own node server adapter, so perhaps, we may pass the IP address to a Hono app. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, for one of my request, I need to get the IP of the user, but I cant find it in the docs
Beta Was this translation helpful? Give feedback.
All reactions