1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef MBGL_UTIL_HTTP_HEADER #define MBGL_UTIL_HTTP_HEADER #include <mapbox/optional.hpp> #include <string> namespace mbgl { namespace http { class CacheControl { public: static CacheControl parse(const std::string&); mapbox::util::optional<uint64_t> maxAge; bool mustRevalidate = false; }; } // namespace http } // namespace mbgl #endif