aboutsummaryrefslogtreecommitdiff
path: root/HTTPFileReader.h
blob: 59a85999faacb15c333c5d8c82896faf240d709d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <cpr/cpr.h>

#include "FileReader.h"

class HTTPFileReader : FileReader {
	friend class FileReaderFactory;
	using FileReader::FileReader;

protected:
	virtual void open();
public:
	virtual void close();
	virtual const std::string read();

private:
	cpr::Response _res;
};