asio 0.3.8rc3 Home | Reference | Tutorial | Examples | Design
Examples

http/server/request.hpp

Go to the documentation of this file.
00001 //
00002 // request.hpp
00003 // ~~~~~~~~~~~
00004 //
00005 // Copyright (c) 2003-2007 Christopher M. Kohlhoff (chris at kohlhoff dot com)
00006 //
00007 // Distributed under the Boost Software License, Version 1.0. (See accompanying
00008 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
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 } // namespace server
00032 } // namespace http
00033 
00034 #endif // HTTP_REQUEST_HPP
asio 0.3.8rc3 Home | Reference | Tutorial | Examples | Design