24 #include <seastar/http/request.hh>
25 #include <seastar/http/common.hh>
26 #include <seastar/http/reply.hh>
28 #include <unordered_map>
34 typedef const http::request& const_req;
56 std::unique_ptr<http::request> req, std::unique_ptr<http::reply> rep) = 0;
65 _mandatory_param.push_back(param);
69 std::vector<sstring> _mandatory_param;
A representation of a possibly not-yet-computed value.
Definition: future.hh:1238
Definition: handlers.hh:42
virtual future< std::unique_ptr< http::reply > > handle(const sstring &path, std::unique_ptr< http::request > req, std::unique_ptr< http::reply > rep)=0
handler_base & mandatory(const sstring ¶m)
Definition: handlers.hh:64
Seastar API namespace.
Definition: abort_on_ebadf.hh:26