comparison Core/RestApi/RestApi.cpp @ 3401:962e5f00744b

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Jun 2019 14:58:27 +0200
parents 4e43e67f8ecf
children 94f4a18a79cc
comparison
equal deleted inserted replaced
3400:0faae6f6e3c5 3401:962e5f00744b
53 const char* remoteIp_; 53 const char* remoteIp_;
54 const char* username_; 54 const char* username_;
55 HttpMethod method_; 55 HttpMethod method_;
56 const IHttpHandler::Arguments& headers_; 56 const IHttpHandler::Arguments& headers_;
57 const IHttpHandler::Arguments& getArguments_; 57 const IHttpHandler::Arguments& getArguments_;
58 const char* bodyData_; 58 const void* bodyData_;
59 size_t bodySize_; 59 size_t bodySize_;
60 60
61 public: 61 public:
62 HttpHandlerVisitor(RestApi& api, 62 HttpHandlerVisitor(RestApi& api,
63 RestApiOutput& output, 63 RestApiOutput& output,
65 const char* remoteIp, 65 const char* remoteIp,
66 const char* username, 66 const char* username,
67 HttpMethod method, 67 HttpMethod method,
68 const IHttpHandler::Arguments& headers, 68 const IHttpHandler::Arguments& headers,
69 const IHttpHandler::Arguments& getArguments, 69 const IHttpHandler::Arguments& getArguments,
70 const char* bodyData, 70 const void* bodyData,
71 size_t bodySize) : 71 size_t bodySize) :
72 api_(api), 72 api_(api),
73 output_(output), 73 output_(output),
74 origin_(origin), 74 origin_(origin),
75 remoteIp_(remoteIp), 75 remoteIp_(remoteIp),
179 const char* username, 179 const char* username,
180 HttpMethod method, 180 HttpMethod method,
181 const UriComponents& uri, 181 const UriComponents& uri,
182 const Arguments& headers, 182 const Arguments& headers,
183 const GetArguments& getArguments, 183 const GetArguments& getArguments,
184 const char* bodyData, 184 const void* bodyData,
185 size_t bodySize) 185 size_t bodySize)
186 { 186 {
187 RestApiOutput wrappedOutput(output, method); 187 RestApiOutput wrappedOutput(output, method);
188 188
189 #if ORTHANC_ENABLE_PUGIXML == 1 189 #if ORTHANC_ENABLE_PUGIXML == 1