diff Core/HttpServer/HttpHandler.h @ 355:753e69f9326e

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Jan 2013 17:56:44 +0100
parents 78a8eaa5f30b
children bdd72233b105
line wrap: on
line diff
--- a/Core/HttpServer/HttpHandler.h	Wed Jan 30 14:34:36 2013 +0100
+++ b/Core/HttpServer/HttpHandler.h	Wed Jan 30 17:56:44 2013 +0100
@@ -36,6 +36,7 @@
 #include <vector>
 #include <stdint.h>
 #include "../Toolbox.h"
+#include "../../OrthancCppClient/HttpEnumerations.h"
 
 namespace Orthanc
 {
@@ -53,7 +54,7 @@
     virtual bool IsServedUri(const UriComponents& uri) = 0;
 
     virtual void Handle(HttpOutput& output,
-                        const std::string& method,
+                        Orthanc_HttpMethod method,
                         const UriComponents& uri,
                         const Arguments& headers,
                         const Arguments& getArguments,