comparison OrthancFramework/Sources/HttpServer/IIncomingHttpRequestFilter.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 bf7b9edf6b81
children e1e918e790e8
comparison
equal deleted inserted replaced
4329:9dc0e42f868b 4330:a01b1c9cbef4
20 **/ 20 **/
21 21
22 22
23 #pragma once 23 #pragma once
24 24
25 #include "IHttpHandler.h" 25 #include "HttpToolbox.h"
26 26
27 namespace Orthanc 27 namespace Orthanc
28 { 28 {
29 class IIncomingHttpRequestFilter : public boost::noncopyable 29 class IIncomingHttpRequestFilter : public boost::noncopyable
30 { 30 {
35 35
36 virtual bool IsAllowed(HttpMethod method, 36 virtual bool IsAllowed(HttpMethod method,
37 const char* uri, 37 const char* uri,
38 const char* ip, 38 const char* ip,
39 const char* username, 39 const char* username,
40 const IHttpHandler::Arguments& httpHeaders, 40 const HttpToolbox::Arguments& httpHeaders,
41 const IHttpHandler::GetArguments& getArguments) = 0; 41 const HttpToolbox::GetArguments& getArguments) = 0;
42 }; 42 };
43 } 43 }