Add base code #1

Merged
pierre merged 4 commits from feat-base-lib into master 2023-04-29 09:00:58 +00:00
Showing only changes of commit 87a049ebad - Show all commits

View File

@ -1,4 +1,7 @@
# Actix Remote IP extractor # Actix Remote IP extractor
[![Build Status](https://drone.communiquons.org/api/badges/pierre/actix-remote-ip/status.svg)](https://drone.communiquons.org/pierre/actix-remote-ip)
[![Crate](https://img.shields.io/crates/v/actix-remote-ip.svg)](https://crates.io/crates/actix-remote-ip)
Tiny extractor of remote user IP address, that handles reverse proxy. Tiny extractor of remote user IP address, that handles reverse proxy.
The `X-Forwarded-For` header is automatically parsed when the request comes from a defined proxy, to determine the real remote client IP Address. The `X-Forwarded-For` header is automatically parsed when the request comes from a defined proxy, to determine the real remote client IP Address.