blob: 5f06a68cd13fee2464ff913ca27e1eed3d02aa0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef MBGL_STORAGE_HTTP_REQUEST_BATON
#define MBGL_STORAGE_HTTP_REQUEST_BATON
#include <mbgl/storage/response.hpp>
#include <string>
typedef struct uv_async_s uv_async_t;
namespace mbgl {
class HTTPRequest;
struct HTTPRequestBaton {
HTTPRequest *request = nullptr;
std::string path;
uv_async_t *async = nullptr;
std::unique_ptr<Response> response;
void *ptr = nullptr;
bool not_modified = false;
void start();
void cancel();
};
}
#endif
|