Mercurial > hg > orthanc
comparison Core/RestApi/RestApi.h @ 3414:b9cba6a91780
simplification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Jun 2019 19:44:10 +0200 |
parents | 962e5f00744b |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3413:f09bfdea3fc3 | 3414:b9cba6a91780 |
---|---|
45 RestApiHierarchy root_; | 45 RestApiHierarchy root_; |
46 | 46 |
47 public: | 47 public: |
48 static void AutoListChildren(RestApiGetCall& call); | 48 static void AutoListChildren(RestApiGetCall& call); |
49 | 49 |
50 virtual IStream* CreateStreamHandler(RequestOrigin origin, | 50 virtual bool CreateChunkedRequestReader(std::auto_ptr<IChunkedRequestReader>& target, |
51 const char* remoteIp, | 51 RequestOrigin origin, |
52 const char* username, | 52 const char* remoteIp, |
53 HttpMethod method, | 53 const char* username, |
54 const UriComponents& uri, | 54 HttpMethod method, |
55 const Arguments& headers) | 55 const UriComponents& uri, |
56 const Arguments& headers) | |
56 { | 57 { |
57 return NULL; | 58 return false; |
58 } | 59 } |
59 | 60 |
60 virtual bool Handle(HttpOutput& output, | 61 virtual bool Handle(HttpOutput& output, |
61 RequestOrigin origin, | 62 RequestOrigin origin, |
62 const char* remoteIp, | 63 const char* remoteIp, |