Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
forwarded_address.h
Go to the documentation of this file.
1#ifndef FORWARDED_ADDRESS_H
2#define FORWARDED_ADDRESS_H
3
4#include <QByteArray>
5#include <QHostAddress>
6
16QHostAddress parseForwardedAddress(const QByteArray &headerValue);
17
18#endif
QHostAddress parseForwardedAddress(const QByteArray &headerValue)
Parses the real client address out of a forwarded header value (X-Real-IP, X-Forwarded-For).
Definition forwarded_address.cpp:5