Menu

[r712]: / framework2 / trunk / cppcms / http / context.h  Maximize  Restore  History

Download this file

39 lines (27 with data), 637 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef CPPCMS_HTTP_CONTEXT_H
#define CPPCMS_HTTP_CONTEXT_H
#include <cppcms/defs.h>
#include <cppcms/utils/noncopyable.h>
#include <memory>
namespace cppcms {
class locale_interface;
namespace http {
class request;
class response;
class connection;
class context_impl;
class CPPCMS_API context : public util::noncopyable {
std::auto_ptr<context_impl> impl_;
std::auto_ptr<application> app_;
public:
http::request &request();
http::response &response();
http::connection &connection();
locale_interface &locale();
public: /* For Internal Use */
context();
~context();
};
} // http
} // cppcms
#endif
MongoDB Logo MongoDB