mist icon indicating copy to clipboard operation
mist copied to clipboard

Get client IP address

Open lpil opened this issue 1 year ago • 2 comments

Hello!

Is there a way to the the IP address of the requester?

Thanks, Louis

lpil avatar Oct 20 '22 10:10 lpil

Currently, unless it's provided as a header, it is not accessible.

I think I'd have to make a custom Request type with that as a field on it (which might make sense, this isn't the first item like this to come up).

Does that make sense to you?

rawhat avatar Oct 20 '22 14:10 rawhat

Other options could be to have a special body type or to add it as a header perhaps.

What other things like this are there?

lpil avatar Oct 21 '22 18:10 lpil