Mercurial > hg > orthanc
comparison OrthancFramework/Sources/RestApi/RestApi.h @ 4335:82652c5fc04f
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 01 Dec 2020 20:31:04 +0100 |
parents | a01b1c9cbef4 |
children | 80fd140b12ba |
comparison
equal
deleted
inserted
replaced
4334:b2366bc023f8 | 4335:82652c5fc04f |
---|---|
42 RequestOrigin origin, | 42 RequestOrigin origin, |
43 const char* remoteIp, | 43 const char* remoteIp, |
44 const char* username, | 44 const char* username, |
45 HttpMethod method, | 45 HttpMethod method, |
46 const UriComponents& uri, | 46 const UriComponents& uri, |
47 const HttpToolbox::Arguments& headers) | 47 const HttpToolbox::Arguments& headers) ORTHANC_OVERRIDE |
48 { | 48 { |
49 return false; | 49 return false; |
50 } | 50 } |
51 | 51 |
52 virtual bool Handle(HttpOutput& output, | 52 virtual bool Handle(HttpOutput& output, |
56 HttpMethod method, | 56 HttpMethod method, |
57 const UriComponents& uri, | 57 const UriComponents& uri, |
58 const HttpToolbox::Arguments& headers, | 58 const HttpToolbox::Arguments& headers, |
59 const HttpToolbox::GetArguments& getArguments, | 59 const HttpToolbox::GetArguments& getArguments, |
60 const void* bodyData, | 60 const void* bodyData, |
61 size_t bodySize); | 61 size_t bodySize) ORTHANC_OVERRIDE; |
62 | 62 |
63 void Register(const std::string& path, | 63 void Register(const std::string& path, |
64 RestApiGetCall::Handler handler); | 64 RestApiGetCall::Handler handler); |
65 | 65 |
66 void Register(const std::string& path, | 66 void Register(const std::string& path, |