ZenLib

Http_Request.h
Go to the documentation of this file.
1/* Copyright (c) MediaArea.net SARL. All Rights Reserved.
2 *
3 * Use of this source code is governed by a zlib-style license that can
4 * be found in the License.txt file in the root of the source tree.
5 */
6
7//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8//
9// A HTTP Request
10//
11//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
12
13//---------------------------------------------------------------------------
14#ifndef ZenLib_Server_Http_RequestH
15#define ZenLib_Server_Http_RequestH
16//---------------------------------------------------------------------------
17
18//---------------------------------------------------------------------------
19#include "ZenLib/Format/Http/Http_Handler.h"
20#include <string>
21#include <ctime>
22#include <map>
23#include <vector>
24//---------------------------------------------------------------------------
25
26
27 namespace ZenLib
28{
29
30 namespace Format
31{
32
33 namespace Http
34{
35
36//***************************************************************************
37/// @brief
38//***************************************************************************
39
40 class Request
41{
42 public:
43 //Constructor/Destructor
44 Request();
45 Request(const Request &Req);
46 ~Request();
47
48 //The data
49 ZenLib::Format::Http::Handler *Http;
50 bool IsCopy;
51
52 //Helpers
53 bool Http_Begin(std::istream &In, std::ostream &Out);
54 void Http_End (std::ostream &Out);
55 private:
56 Request &operator =(const Request &a);
57};
58
59} //Namespace
60
61} //Namespace
62
63} //Namespace
64
65#endif
Http_Handler.h
ZenLib::Format::Http::Handler
Definition: Http_Handler.h:37
ZenLib::Format::Http::Request
Definition: Http_Request.h:41
ZenLib::Format::Http::Request::Http
ZenLib::Format::Http::Handler * Http
Definition: Http_Request.h:49
ZenLib::Format::Http::Request::Request
Request()
ZenLib::Format::Http::Request::Http_End
void Http_End(std::ostream &Out)
ZenLib::Format::Http::Request::IsCopy
bool IsCopy
Definition: Http_Request.h:50
ZenLib::Format::Http::Request::~Request
~Request()
ZenLib::Format::Http::Request::Http_Begin
bool Http_Begin(std::istream &In, std::ostream &Out)
ZenLib::Format::Http::Request::Request
Request(const Request &Req)
ZenLib
Definition: BitStream.h:24