diff options
author | Mattes D <github@xoft.cz> | 2015-04-21 10:54:43 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-04-21 10:54:43 +0200 |
commit | de27f66b59439e6d6db01f30dc5eee9807028db4 (patch) | |
tree | 0c4cf152371dbe6b2a905a755d8ffdcd683c5d75 /src/WebAdmin.h | |
parent | WebAdmin: Removed server name, shortened memory report. (diff) | |
download | cuberite-de27f66b59439e6d6db01f30dc5eee9807028db4.tar cuberite-de27f66b59439e6d6db01f30dc5eee9807028db4.tar.gz cuberite-de27f66b59439e6d6db01f30dc5eee9807028db4.tar.bz2 cuberite-de27f66b59439e6d6db01f30dc5eee9807028db4.tar.lz cuberite-de27f66b59439e6d6db01f30dc5eee9807028db4.tar.xz cuberite-de27f66b59439e6d6db01f30dc5eee9807028db4.tar.zst cuberite-de27f66b59439e6d6db01f30dc5eee9807028db4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WebAdmin.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/WebAdmin.h b/src/WebAdmin.h index 1e1a9bfa9..4dbcc57a6 100644 --- a/src/WebAdmin.h +++ b/src/WebAdmin.h @@ -50,9 +50,18 @@ struct HTTPRequest typedef std::map< std::string, std::string > StringStringMap; typedef std::map< std::string, HTTPFormData > FormDataMap; + /** The entire URL presented to the HTTP server. */ + AString URL; + + /** HTTP method used for the request ("GET", "POST" etc.) */ AString Method; + + /** The Path part of the request's URL (excluding GET params). */ AString Path; + + /** Name of the logged-in user. Empty if not logged in. */ AString Username; + // tolua_end /** Parameters given in the URL, after the questionmark */ |