How to get client IP address in Vapor 3.0?
Thanks to the Vapor community, I have got an answer.
You can use req.http.remotePeer.hostname
for Vapor 3.0 project.
Thanks to the Vapor community, I have got an answer.
You can use req.http.remotePeer.hostname
for Vapor 3.0 project.