diff Core/HttpServer/MongooseServer.h @ 1959:45c4387a379c

Access to the HTTP headers in the "IncomingHttpRequestFilter()" callback
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 Apr 2016 16:26:22 +0200
parents b1291df2f780
children ef1e9856c26f
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.h	Wed Apr 06 14:41:26 2016 +0200
+++ b/Core/HttpServer/MongooseServer.h	Thu Apr 07 16:26:22 2016 +0200
@@ -56,7 +56,8 @@
     virtual bool IsAllowed(HttpMethod method,
                            const char* uri,
                            const char* ip,
-                           const char* username) const = 0;
+                           const char* username,
+                           const IHttpHandler::Arguments& httpHeaders) const = 0;
   };