21 EchoHandler::EchoHandler(
EchoStats* stats): stats_(stats) {
ResponseBuilder & status(uint16_t code, const std::string &message)
constexpr detail::Map< Move > move
void onBody(std::unique_ptr< folly::IOBuf > body) noexceptoverride
ResponseBuilder & body(std::unique_ptr< folly::IOBuf > bodyIn)
requires E e noexcept(noexcept(s.error(std::move(e))))
virtual void recordRequest()
std::unique_ptr< folly::IOBuf > body_
void requestComplete() noexceptoverride
void onUpgrade(proxygen::UpgradeProtocol proto) noexceptoverride
ResponseBuilder & header(const std::string &headerIn, const T &value)
void onEOM() noexceptoverride
virtual uint64_t getRequestCount()
void onError(proxygen::ProxygenError err) noexceptoverride
void onRequest(std::unique_ptr< proxygen::HTTPMessage > headers) noexceptoverride
ResponseHandler * downstream_