26 # pragma clang diagnostic push 27 # if __clang_major__ > 3 || __clang_minor__ >= 6 28 # pragma clang diagnostic ignored "-Winconsistent-missing-override" 45 # pragma clang diagnostic pop 54 sendBody(std::shared_ptr<folly::IOBuf>(body.release()));
56 sendBody(std::shared_ptr<folly::IOBuf>(
nullptr));
66 # pragma clang diagnostic push 67 # if __clang_major__ > 3 || __clang_minor__ >= 6 68 # pragma clang diagnostic ignored "-Winconsistent-missing-override" 82 # pragma clang diagnostic pop 86 onRequest(std::shared_ptr<HTTPMessage>(headers.release()));
91 onBody(std::shared_ptr<folly::IOBuf>(body.release()));
93 onBody(std::shared_ptr<folly::IOBuf>(
nullptr));
GMOCK_METHOD1_(, noexcept,, sendHeaders, void(HTTPMessage &))
virtual void sendChunkTerminator() noexcept=0
virtual void sendEOM() noexcept=0
virtual void getCurrentTransportInfo(wangle::TransportInfo *tinfo) const =0
MockResponseHandler(RequestHandler *h)
virtual void sendChunkHeader(size_t len) noexcept=0
void sendBody(std::unique_ptr< folly::IOBuf > body) noexceptoverride
requires E e noexcept(noexcept(s.error(std::move(e))))
GMOCK_METHOD0_(, noexcept,, sendChunkTerminator, void())
virtual void sendAbort() noexcept=0
virtual void resumeIngress() noexcept=0
virtual void sendHeaders(HTTPMessage &msg) noexcept=0
MOCK_CONST_METHOD1(getCurrentTransportInfo, void(wangle::TransportInfo *))
const wangle::TransportInfo & getSetupTransportInfo() const noexceptoverride
virtual void refreshTimeout() noexcept=0
void onBody(std::unique_ptr< folly::IOBuf > body) noexceptoverride
void onRequest(std::unique_ptr< HTTPMessage > headers) noexceptoverride
virtual void pauseIngress() noexcept=0
wangle::TransportInfo transportInfo
virtual ResponseHandler * newPushedResponse(PushHandler *pushHandler) noexcept=0