Releases: effectra/http-extensions
Releases · effectra/http-extensions
v2.2.1
v2.2.0
implements interfaces in package classes
v2.1.2
format codes
v2.1.1
upgrade effectra/http-message
v2.1.0
#NEW
Get the client's IP address taking into account trusted proxies.
* This function retrieves the client's IP address by considering trusted proxy servers
* that might be forwarding requests. It checks if the remote address is one of the trusted
* proxies and if the X-Forwarded-For header is present. If so, it returns the first non-empty
* IP address from the list of forwarded addresses. Otherwise, it returns the remote address.
v2.0.0
Added new method for work with Request,Uri
This version does not need 'effectra/http-foundation' package
v1.0.0
Update main files