summaryrefslogtreecommitdiff
path: root/src/HttpRequest.h
blob: 5f3a9f546a0e878ecb5a04ef4043a5859c57d21f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <map>
#include <string>

class HttpRequest {
public:
	HttpRequest(const std::string& request_string);
	std::string header(const std::string& header_key) const { return m_headers.at(header_key); };
private:
	std::map<std::string, std::string> m_headers;
};