diff Core/HttpServer/IHttpHandler.h @ 1446:8dc80ba768aa

refactoring: IHttpHandler does not use std::string to hold the request body
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Jul 2015 13:16:12 +0200
parents 4ff8dd753d79
children c94353fbd4e9
line wrap: on
line diff
--- a/Core/HttpServer/IHttpHandler.h	Wed Jul 01 12:30:19 2015 +0200
+++ b/Core/HttpServer/IHttpHandler.h	Wed Jul 01 13:16:12 2015 +0200
@@ -56,6 +56,7 @@
                         const UriComponents& uri,
                         const Arguments& headers,
                         const GetArguments& getArguments,
-                        const std::string& body) = 0;
+                        const char* bodyData,
+                        size_t bodySize) = 0;
   };
 }