Mercurial > hg > orthanc
diff OrthancFramework/Sources/RestApi/RestApiPath.h @ 4330:a01b1c9cbef4
moving generic type definitions from IHttpHandler to HttpToolbox
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 25 Nov 2020 14:39:10 +0100 |
parents | b30a8de92ad9 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiPath.h Wed Nov 25 13:46:49 2020 +0100 +++ b/OrthancFramework/Sources/RestApi/RestApiPath.h Wed Nov 25 14:39:10 2020 +0100 @@ -22,8 +22,7 @@ #pragma once -#include "../Toolbox.h" -#include "../HttpServer/IHttpHandler.h" +#include "../HttpServer/HttpToolbox.h" #include <map> @@ -40,11 +39,11 @@ explicit RestApiPath(const std::string& uri); // This version is slower - bool Match(IHttpHandler::Arguments& components, + bool Match(HttpToolbox::Arguments& components, UriComponents& trailing, const std::string& uriRaw) const; - bool Match(IHttpHandler::Arguments& components, + bool Match(HttpToolbox::Arguments& components, UriComponents& trailing, const UriComponents& uri) const;