diff options
Diffstat (limited to 'src/HttpResponse.h')
| -rw-r--r-- | src/HttpResponse.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/HttpResponse.h b/src/HttpResponse.h index 04ea1153..3aeac22a 100644 --- a/src/HttpResponse.h +++ b/src/HttpResponse.h @@ -37,6 +37,7 @@ #include "common.h" #include "SharedHandle.h" +#include "a2time.h" #include <stdint.h> namespace aria2 { @@ -104,6 +105,10 @@ public: { this->cuid = cuid; } + + bool hasRetryAfter() const; + + time_t getRetryAfter() const; }; typedef SharedHandle<HttpResponse> HttpResponseHandle; |
