comparison 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
comparison
equal deleted inserted replaced
1445:d26c8a93d05a 1446:8dc80ba768aa
49 virtual bool Handle(HttpOutput& output, 49 virtual bool Handle(HttpOutput& output,
50 HttpMethod method, 50 HttpMethod method,
51 const UriComponents& uri, 51 const UriComponents& uri,
52 const Arguments& headers, 52 const Arguments& headers,
53 const GetArguments& getArguments, 53 const GetArguments& getArguments,
54 const std::string& postData); 54 const char* bodyData,
55 size_t bodySize);
55 56
56 void Register(const std::string& path, 57 void Register(const std::string& path,
57 RestApiGetCall::Handler handler); 58 RestApiGetCall::Handler handler);
58 59
59 void Register(const std::string& path, 60 void Register(const std::string& path,