#pragma once #include #include #include namespace DB { class LibraryBridgeHandlerFactory : public HTTPRequestHandlerFactory, WithContext { public: LibraryBridgeHandlerFactory( const std::string & name_, ContextPtr context_); std::unique_ptr createRequestHandler(const HTTPServerRequest & request) override; private: LoggerPtr log; const std::string name; }; }