00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef HTTP_REQUEST_HPP
00012 #define HTTP_REQUEST_HPP
00013
00014 #include <string>
00015 #include <vector>
00016 #include "header.hpp"
00017
00018 namespace http {
00019 namespace server {
00020
00022 struct request
00023 {
00024 std::string method;
00025 std::string uri;
00026 int http_version_major;
00027 int http_version_minor;
00028 std::vector<header> headers;
00029 };
00030
00031 }
00032 }
00033
00034 #endif // HTTP_REQUEST_HPP