Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fhessel
Copy link
Owner

@fhessel fhessel commented Feb 20, 2020

Adds the method getClientIP() to the HTTPRequest class.

Usage in handler function or middleware:

IPAddress clientIP = req->getClientIP();

Resolves:

@f34rdotcom
Copy link

Tested works!

@fhessel fhessel merged commit 9ba205e into master Feb 20, 2020
@fhessel fhessel deleted the feature/get-client-ip branch February 20, 2020 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants