File: http_bundle.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 (16 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class http_bundle
{
	std::vector<std::string> headers;
	unsigned char *data;
	int data_len;

public:
	http_bundle(std::vector<std::string> headers, unsigned char *data, int data_len);
	http_bundle(std::vector<std::string> headers, const char *data);
	http_bundle(std::vector<std::string> headers, std::string data);
	~http_bundle();

	std::vector<std::string> get_headers();
	int get_data_len();
	unsigned char *get_data();
};