@dm3 I’v tried two things:
1. (.getRemoteHost (:catacumba/request context))
and I got an exception: No matching field found: getRemoteHost for class ratpack.http.internal.DefaultRequest
2. (.getRemoteHost (.getRequest context))
, and I got an exception: No matching field found: getRequest for class clojure.lang.PersistentHashMap
Here is the DefaultRequest
java definition
I don’t see any method whose name seems to be related to ip or address
But I found this one: (.getRemoteAddress (:catacumba/request context))
from https://ratpack.io/manual/current/api/ratpack/http/Request.html#getRemoteAddress