Mercurial > hg > orthanc
diff Core/RestApi/RestApi.h @ 1446:8dc80ba768aa
refactoring: IHttpHandler does not use std::string to hold the request body
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 01 Jul 2015 13:16:12 +0200 |
parents | f3672356c121 |
children | 3232f1c995a5 |
line wrap: on
line diff
--- a/Core/RestApi/RestApi.h Wed Jul 01 12:30:19 2015 +0200 +++ b/Core/RestApi/RestApi.h Wed Jul 01 13:16:12 2015 +0200 @@ -51,7 +51,8 @@ const UriComponents& uri, const Arguments& headers, const GetArguments& getArguments, - const std::string& postData); + const char* bodyData, + size_t bodySize); void Register(const std::string& path, RestApiGetCall::Handler handler);