Fork me on GitHub
#funcool
<
2017-03-30
>
Yehonathan Sharvit03:03:56

@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

Yehonathan Sharvit03:03:22

Here is the DefaultRequest java definition

Yehonathan Sharvit03:03:02

I don’t see any method whose name seems to be related to ip or address

Yehonathan Sharvit03:03:24

But I found this one: (.getRemoteAddress (:catacumba/request context))