mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-02 09:35:55 +00:00
feat: Proxy support (#2490)
Add client IP resolving support in case when there is a proxy in front of Clio.
This commit is contained in:
@@ -35,12 +35,14 @@
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
|
||||
struct WebHeader {
|
||||
WebHeader(boost::beast::http::field name, std::string value);
|
||||
WebHeader(std::string_view name, std::string value);
|
||||
|
||||
boost::beast::http::field name;
|
||||
std::variant<boost::beast::http::field, std::string> name;
|
||||
std::string value;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user