| Home | Libraries | People | FAQ | More

# http/server/request.hpp

Go to the documentation of this file.

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

| Copyright © 2003 - 2006 Christopher M. Kohlhoff