summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/response.hpp
blob: e665f177fca52d5469a7a0b89f62039e39d63ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MBGL_STORAGE_RESPONSE
#define MBGL_STORAGE_RESPONSE

#include <string>

namespace mbgl {

class Response {
public:
    enum Status { Error, Successful, NotFound };

    Status status = Error;
    std::string message;
    int64_t modified = 0;
    int64_t expires = 0;
    std::string etag;
    std::string data;
};

}

#endif