File: http_file.h

package info (click to toggle)
entropybroker 2.9-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,600 kB
  • sloc: cpp: 14,386; sh: 934; makefile: 188; java: 148; perl: 12
file content (19 lines) | stat: -rw-r--r-- 489 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class http_file
{
public:
	http_file();
	virtual ~http_file();

	virtual std::string get_url() = 0;

	virtual std::string get_meta_type() = 0;

	std::map<std::string, std::string> split_parameters(std::string url);

	std::string get_style_header();
	std::string get_style_tail();

	virtual http_bundle * do_request(http_request_t request_type, std::string request_url, http_bundle *request_details) = 0;
};

std::string generate_logging_table(statistics_global *ps, std::string username);