diff options
author | 2017-03-19 18:35:05 +0100 | |
---|---|---|
committer | 2017-03-19 18:35:05 +0100 | |
commit | ad2bedf06b7e07a3f7b382a40ff6c405a5ca6e6c (patch) | |
tree | 7d11b924aa45e383295bc175fcc81a02d11d44b8 /src/lib/util/server_http.hpp | |
parent | f31904f2b7e5835d2a3e7a39b1dae55e6904a4aa (diff) |
Refactored HTTP handling to be easier to extend and use (nw)
Diffstat (limited to 'src/lib/util/server_http.hpp')
-rw-r--r-- | src/lib/util/server_http.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/util/server_http.hpp b/src/lib/util/server_http.hpp index 63cfb505fb3..d50ccc05bc7 100644 --- a/src/lib/util/server_http.hpp +++ b/src/lib/util/server_http.hpp @@ -197,6 +197,10 @@ namespace webpp { } } } + void clear() + { + m_resource.clear(); + } std::function<void(std::shared_ptr<typename ServerBase<socket_type>::Request>, const std::error_code&)> on_error; |