blob: 60d37f1a148cfedcf037536d31c52a10299547c1 (
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
|
#ifndef MBGL_STORAGE_HTTP_FILE_SOURCE
#define MBGL_STORAGE_HTTP_FILE_SOURCE
#include <mbgl/storage/file_source.hpp>
namespace mbgl {
class HTTPFileSource : public FileSource {
public:
HTTPFileSource();
~HTTPFileSource() override;
std::unique_ptr<AsyncRequest> request(const Resource&, Callback) override;
static uint32_t maximumConcurrentRequests();
class Impl;
private:
std::unique_ptr<Impl> impl;
};
} // namespace mbgl
#endif // MBGL_STORAGE_HTTP_FILE_SOURCE
|