aboutsummaryrefslogtreecommitdiff
path: root/web/module
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-03-06 13:52:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-03-07 00:05:29 +0300
commitb72424fca7a6af6ff7921101c450850fef875152 (patch)
treeac295d1e228379b1b31c6af3a84e7057f2ea96ae /web/module
parent0f9c65e489a7b59f76ccbf2ca6e76ab0a1012932 (diff)
Support multiple instances of brep in a single Apache instance
Diffstat (limited to 'web/module')
-rw-r--r--web/module12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/module b/web/module
index 824551f..85896c3 100644
--- a/web/module
+++ b/web/module
@@ -86,6 +86,9 @@ namespace web
public:
using path_type = web::path;
+ virtual
+ ~request () = default;
+
// Corresponds to abs_path portion of HTTP URL as described in
// "3.2.2 HTTP URL" of http://tools.ietf.org/html/rfc2616.
// Returns '/' if no abs_path is present in URL.
@@ -120,6 +123,9 @@ namespace web
class response
{
public:
+ virtual
+ ~response () = default;
+
// Set status code, content type, and get the stream to write
// the content to. If the buffer argument is true (default),
// then buffer the entire content before sending it as a
@@ -170,6 +176,9 @@ namespace web
class log
{
public:
+ virtual
+ ~log () = default;
+
virtual void
write (const char* msg) = 0;
};
@@ -188,6 +197,9 @@ namespace web
class module
{
public:
+ virtual
+ ~module () = default;
+
// Description of configuration options supported by this module. Note:
// should be callable during static initialization.
//