proxygen
|
#include <HTTPTransaction.h>
Public Member Functions | |
virtual | ~Transport () |
virtual void | pauseIngress (HTTPTransaction *txn) noexcept=0 |
virtual void | resumeIngress (HTTPTransaction *txn) noexcept=0 |
virtual void | transactionTimeout (HTTPTransaction *txn) noexcept=0 |
virtual void | sendHeaders (HTTPTransaction *txn, const HTTPMessage &headers, HTTPHeaderSize *size, bool eom) noexcept=0 |
virtual size_t | sendBody (HTTPTransaction *txn, std::unique_ptr< folly::IOBuf >, bool eom, bool trackLastByteFlushed) noexcept=0 |
virtual size_t | sendChunkHeader (HTTPTransaction *txn, size_t length) noexcept=0 |
virtual size_t | sendChunkTerminator (HTTPTransaction *txn) noexcept=0 |
virtual size_t | sendEOM (HTTPTransaction *txn, const HTTPHeaders *trailers) noexcept=0 |
virtual size_t | sendAbort (HTTPTransaction *txn, ErrorCode statusCode) noexcept=0 |
virtual size_t | sendPriority (HTTPTransaction *txn, const http2::PriorityUpdate &pri) noexcept=0 |
virtual size_t | sendWindowUpdate (HTTPTransaction *txn, uint32_t bytes) noexcept=0 |
virtual void | notifyPendingEgress () noexcept=0 |
virtual void | detach (HTTPTransaction *txn) noexcept=0 |
virtual void | notifyIngressBodyProcessed (uint32_t bytes) noexcept=0 |
virtual void | notifyEgressBodyBuffered (int64_t bytes) noexcept=0 |
virtual const folly::SocketAddress & | getLocalAddress () const noexcept=0 |
virtual const folly::SocketAddress & | getPeerAddress () const noexcept=0 |
virtual void | describe (std::ostream &) const =0 |
virtual const wangle::TransportInfo & | getSetupTransportInfo () const noexcept=0 |
virtual bool | getCurrentTransportInfo (wangle::TransportInfo *tinfo)=0 |
virtual const HTTPCodec & | getCodec () const noexcept=0 |
virtual void | drain ()=0 |
virtual bool | isDraining () const =0 |
virtual HTTPTransaction * | newPushedTransaction (HTTPCodec::StreamID assocStreamId, HTTPTransaction::PushHandler *handler) noexcept=0 |
virtual HTTPTransaction * | newExTransaction (HTTPTransaction::Handler *handler, HTTPCodec::StreamID controlStream, bool unidirectional) noexcept=0 |
virtual std::string | getSecurityProtocol () const =0 |
virtual void | addWaitingForReplaySafety (folly::AsyncTransport::ReplaySafetyCallback *callback) noexcept=0 |
virtual void | removeWaitingForReplaySafety (folly::AsyncTransport::ReplaySafetyCallback *callback) noexcept=0 |
virtual bool | needToBlockForReplaySafety () const =0 |
virtual const folly::AsyncTransportWrapper * | getUnderlyingTransport () const noexcept=0 |
virtual bool | isReplaySafe () const =0 |
virtual void | setHTTP2PrioritiesEnabled (bool enabled)=0 |
virtual bool | getHTTP2PrioritiesEnabled () const =0 |
virtual folly::Optional< const HTTPMessage::HTTPPriority > | getHTTPPriority (uint8_t level)=0 |
Definition at line 331 of file HTTPTransaction.h.
|
inlinevirtual |
Definition at line 333 of file HTTPTransaction.h.
References folly::io::getCodec(), handler(), int64_t, folly::pushmi::__adl::noexcept(), folly::size(), statusCode, string, uint32_t, and uint8_t.
|
pure virtualnoexcept |
|
pure virtual |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::HTTPTransaction::describe(), and proxygen::MockHTTPTransactionTransport::getPeerAddress().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::HTTPTransaction::onDelayedDestroy(), and proxygen::MockHTTPTransactionTransport::sendBody().
|
pure virtual |
Implemented in proxygen::HTTPSession, and proxygen::HTTPUpstreamSession.
Referenced by proxygen::MockHTTPTransactionTransport::getCodec().
|
pure virtualnoexcept |
|
pure virtual |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::getSetupTransportInfo().
|
pure virtual |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::getUnderlyingTransport().
|
pure virtual |
Implemented in proxygen::HTTPSession, and proxygen::HTTPUpstreamSession.
Referenced by proxygen::MockHTTPTransactionTransport::getUnderlyingTransport().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession, and proxygen::MockHTTPTransactionTransport.
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession, and proxygen::MockHTTPTransactionTransport.
|
pure virtual |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::getCodec().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession, and proxygen::MockHTTPTransactionTransport.
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession, and proxygen::MockHTTPTransactionTransport.
|
pure virtual |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::getCodec(), and proxygen::HTTPTransaction::processIngressBody().
|
pure virtual |
Returns true if the underlying transport has completed full handshake.
Implemented in proxygen::HTTPUpstreamSession, and proxygen::HTTPDownstreamSession.
Referenced by proxygen::MockHTTPTransactionTransport::getUnderlyingTransport().
|
pure virtual |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::getCodec().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::sendBody().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::sendBody(), and proxygen::MockHTTPTransaction::sendBody().
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::HTTPTransaction::sendAbort(), proxygen::MockHTTPTransactionTransport::sendBody(), and proxygen::MockHTTPTransaction::sendBody().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession, and proxygen::MockHTTPTransactionTransport.
Referenced by proxygen::HTTPTransaction::sendBodyNow().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::sendBody(), proxygen::MockHTTPTransaction::sendBody(), and proxygen::HTTPTransaction::sendDeferredBody().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::sendBody(), proxygen::MockHTTPTransaction::sendBody(), and proxygen::HTTPTransaction::sendDeferredBody().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::sendBody(), proxygen::MockHTTPTransaction::sendBody(), and proxygen::HTTPTransaction::sendEOMNow().
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::sendBody(), and proxygen::HTTPTransaction::updateAndSendPriority().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::HTTPTransaction::flushWindowUpdate(), and proxygen::MockHTTPTransactionTransport::sendBody().
|
pure virtual |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::getUnderlyingTransport().
|
pure virtualnoexcept |
Implemented in proxygen::HTTPSession.
Referenced by proxygen::MockHTTPTransactionTransport::MockHTTPTransactionTransport().