Return value for both HEAD and GET requests.
In case of errors, provides the reason for the failure as code and as message.
Definition at line 47 of file RCurlConnection.hxx.
Public Types | |
| enum | EStatusCode { kSuccess = 0 , kTooManyRanges , kNotFound , kForbidden , kIOError , kUnknown } |
Public Member Functions | |
| RStatus ()=default | |
| RStatus (EStatusCode code) | |
| operator bool () const | |
Public Attributes | |
| EStatusCode | fStatusCode = kUnknown |
| std::string | fStatusMsg |
#include <ROOT/RCurlConnection.hxx>
| Enumerator | ||
|---|---|---|
| kSuccess | 0 | |
| kTooManyRanges | should not get to the user; number of request ranges is automatically reduced as needed | |
| kNotFound | ||
| kForbidden | ||
| kIOError | ||
| kUnknown | ||
Definition at line 48 of file RCurlConnection.hxx.
|
default |
|
inlineexplicit |
Definition at line 61 of file RCurlConnection.hxx.
|
inlineexplicit |
Definition at line 63 of file RCurlConnection.hxx.
| EStatusCode ROOT::Internal::RCurlConnection::RStatus::fStatusCode = kUnknown |
Definition at line 57 of file RCurlConnection.hxx.
| std::string ROOT::Internal::RCurlConnection::RStatus::fStatusMsg |
Definition at line 58 of file RCurlConnection.hxx.