diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2016-08-31 16:43:33 +0200 |
---|---|---|
committer | Ivo van Dongen <info@ivovandongen.nl> | 2016-09-13 14:21:37 +0200 |
commit | 290bd07a92d7103c67f606c1423785069fc9b776 (patch) | |
tree | 00fa0a654830f3cf239932f266e311cab6ebeb59 /src/mbgl/util/http_header.hpp | |
parent | fdaf26b2c02afa6042876962f92b1eaf0ada19bb (diff) | |
download | qtlocation-mapboxgl-290bd07a92d7103c67f606c1423785069fc9b776.tar.gz |
[core] OnlineFileSource - rate limit
Diffstat (limited to 'src/mbgl/util/http_header.hpp')
-rw-r--r-- | src/mbgl/util/http_header.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/util/http_header.hpp b/src/mbgl/util/http_header.hpp index 8a83356977..fa76cb724e 100644 --- a/src/mbgl/util/http_header.hpp +++ b/src/mbgl/util/http_header.hpp @@ -17,6 +17,9 @@ public: optional<Timestamp> toTimePoint() const; }; + +optional<Timestamp> parseRetryHeaders(const optional<std::string>& retryAfter, + const optional<std::string>& xRateLimitReset); } // namespace http } // namespace mbgl |