Adam Argyle
Adam Argyle•2y 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•2y 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•2y ago
rad, that unblocked me, thanks 🙂