summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/common/rest/RTCRestClientResponseBase.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Copyright year updates by scm.vboxsync2023-01-171-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98103 cfe28804-0f27-0410-a406-dd0f0b0b656f
* scm copyright and license note updatevboxsync2022-08-221-10/+20
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96407 cfe28804-0f27-0410-a406-dd0f0b0b656f
* scm --update-copyright-yearvboxsync2022-01-011-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@93115 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: bugref:9167 - Add release logging for REST operations.vboxsync2020-10-221-1/+24
| | | | | | | | | | | | | Request are logged at level 5, and responses at level 7, so they are not on by default. The format is a bit ad-hoc, but all the essential information should be there. It's mostly done in base classes except for request bodies (it can probably be done in the base class too, but would require more runtime logic, while here we can only generate them as needed). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@86681 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Copyright year updates by scm.vboxsync2020-02-041-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82968 cfe28804-0f27-0410-a406-dd0f0b0b656f
* scm --update-copyright-yearvboxsync2019-01-011-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@76553 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: Missed RT_NOEXCEPT in two place. Went wild adding RT_NOEXCEPT ↵vboxsync2018-09-231-19/+19
| | | | | | everywhere possible. bugref:9167 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@74425 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: Prepped for polymorphic body responses. bugref:9167vboxsync2018-09-201-9/+16
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@74396 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IRPT/rest,http: Use header callbacks for capturing header values in ↵vboxsync2018-09-131-1/+1
| | | | | | responses. Removed [P]FNCREATEINSTANCE as it isn't needed any more (and it didn't work like expected for RTCRestString). Some HTTP header callback updates. bugref:9167 [build fix] git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@74251 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IRPT/rest,http: Use header callbacks for capturing header values in ↵vboxsync2018-09-131-200/+123
| | | | | | responses. Removed [P]FNCREATEINSTANCE as it isn't needed any more (and it didn't work like expected for RTCRestString). Some HTTP header callback updates. bugref:9167 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@74250 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: fix typo in method namevboxsync2018-09-131-3/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@74232 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: Do not assert things about data we get from the network.vboxsync2018-09-061-1/+3
| | | | | | | | Curl returns status line as part of the header, don't freak out b/c it doesn't have a colon. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@74116 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: split up restbase.h into several files to make it more managable. ↵vboxsync2018-09-021-1/+2
| | | | | | bugref:9167 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@74025 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: Implemented header collection (x-obmcs-header-collection) and ↵vboxsync2018-09-021-22/+39
| | | | | | multi-query array mapping. Renamed RTCRestObjectBase::getType() to typeName() to avoid clashing with generated code. bugref:9167 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@74023 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: Pass the response object as a parmeter to the api emthods to make ↵vboxsync2018-08-311-0/+11
| | | | | | sure we avoid all unnecessary object copying. Added rest() method to the response objects so they can be reused. bugref:9167 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@74009 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: fixes. bugref:9167vboxsync2018-08-311-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@73995 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: More request array and map setter methods. Fixed string defaults. ↵vboxsync2018-08-301-0/+1
| | | | | | Safer copying and resetToDefaults. bugref:9167 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@73977 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: Bug fixes. Pet listing works. bugref:9167vboxsync2018-08-291-4/+4
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@73968 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: Adding genric factor methods for every class and use it to ↵vboxsync2018-08-281-0/+117
| | | | | | generalize response header field parsing. bugref:9167 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@73933 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT/rest: Implemented parsing json response bodies. bugref:9167vboxsync2018-08-281-2/+92
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@73930 cfe28804-0f27-0410-a406-dd0f0b0b656f
* iprt/rest: Added error info, copy of http status, and content type to ↵vboxsync2018-08-281-1/+1
| | | | | | RTCRestClientResponseBase. bugref:9167 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@73923 cfe28804-0f27-0410-a406-dd0f0b0b656f
* iprt/rest: Added error info, copy of http status, and content type to ↵vboxsync2018-08-281-3/+58
| | | | | | RTCRestClientResponseBase. bugref:9167 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@73922 cfe28804-0f27-0410-a406-dd0f0b0b656f
* iprt/rest: More work on the API code generation. bugref:9167vboxsync2018-08-271-0/+156
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@73921 cfe28804-0f27-0410-a406-dd0f0b0b656f