57 std::vector<std::unique_ptr<RequestHandlerFactory>>
build() {
61 template <
typename T,
typename...
Args>
63 chain_.push_back(std::make_unique<T>(std::forward<Args>(args)...));
73 std::vector<std::unique_ptr<RequestHandlerFactory>>
chain_;
constexpr detail::Map< Move > move
virtual RequestHandler * onRequest(RequestHandler *, HTTPMessage *) noexcept=0
virtual ~RequestHandlerFactory()
std::vector< std::unique_ptr< RequestHandlerFactory > > chain_
RequestHandlerChain & addThen(Args &&...args)
internal::ArgsMatcher< InnerMatcher > Args(const InnerMatcher &matcher)
virtual void onServerStart(folly::EventBase *evb) noexcept=0
requires E e noexcept(noexcept(s.error(std::move(e))))
virtual void onServerStop() noexcept=0
std::vector< std::unique_ptr< RequestHandlerFactory > > build()
RequestHandlerChain & addThen(std::unique_ptr< RequestHandlerFactory > h)