summaryrefslogtreecommitdiff
path: root/httpRequest.proto
diff options
context:
space:
mode:
Diffstat (limited to 'httpRequest.proto')
-rw-r--r--httpRequest.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/httpRequest.proto b/httpRequest.proto
index f165c9b..82c04a0 100644
--- a/httpRequest.proto
+++ b/httpRequest.proto
@@ -25,6 +25,9 @@ message HttpRequest { // HttpRequest repre
bytes serverData = 13; // the server response
int64 serverDataLen = 14; // len(data)
repeated string logs = 15; // use this to store whatever you want while the whole POST happens
+ string userAgent = 16; // client user-agent
+ map<string, string> query = 17; // r.URL.Query()
+ string remoteAddr = 18; // r.RemoteAddr
}
message HttpRequests { // `autogenpb:marshal` `autogenpb:mutex`