Skip to content

Add getClientIP() to HTTPRequest - #71

Merged
fhessel merged 1 commit into
masterfrom
feature/get-client-ip
Feb 20, 2020
Merged

fhessel merged 1 commit into
masterfrom
feature/get-client-ip

Conversation

@fhessel

@fhessel fhessel commented Feb 20, 2020

Copy link
Copy Markdown
Owner

Adds the method getClientIP() to the HTTPRequest class.

Usage in handler function or middleware:

IPAddress clientIP = req->getClientIP();

Resolves:

@f34rdotcom

Copy link
Copy Markdown

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