Mercurial > hg > orthanc
diff OrthancFramework/Sources/RestApi/RestApiCall.cpp @ 4424:83371ccdfe80
openapi documentation is now completed
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 29 Dec 2020 19:28:53 +0100 |
parents | 80fd140b12ba |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiCall.cpp Tue Dec 29 16:51:28 2020 +0100 +++ b/OrthancFramework/Sources/RestApi/RestApiCall.cpp Tue Dec 29 19:28:53 2020 +0100 @@ -25,6 +25,18 @@ namespace Orthanc { + void RestApiCall::GetUriComponentsNames(std::set<std::string>& components) const + { + components.clear(); + + for (HttpToolbox::Arguments::const_iterator it = uriComponents_.begin(); + it != uriComponents_.end(); ++it) + { + components.insert(it->first); + } + } + + std::string RestApiCall::FlattenUri() const { std::string s = "/";