Adam Argyle
Adam Argyle•3y ago

How do i get the IP address of a request in Fresh | Deno?

Setting up some server analytics that require it and I'm struggling to find the best way to pass it along. Thanks!
2 Replies
crowlKats
crowlKats•3y ago
you can get the IP in a handler from the context argument as it extends https://deno.land/std@0.170.0/http/mod.ts?s=ConnInfo
Adam Argyle
Adam ArgyleOP•3y ago
rad, that unblocked me, thanks 🙂

Did you find this page helpful?