Move sources to src and build objs in obj.

This commit is contained in:
Arthur Britto
2012-03-06 22:43:06 -08:00
parent 82af29a21d
commit c513e45754
95 changed files with 55 additions and 39 deletions

24
src/HttpRequest.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef HTTP_REQUEST_HPP
#define HTTP_REQUEST_HPP
#include <string>
#include <vector>
struct HttpHeader
{
std::string name;
std::string value;
};
/// A request received from a client.
struct HttpRequest
{
std::string method;
std::string uri;
int http_version_major;
int http_version_minor;
std::vector<HttpHeader> headers;
std::string mBody;
};
#endif // HTTP_REQUEST_HPP