proxygen
proxygen::HTTPTransactionTransportCallback Class Referenceabstract

#include <HTTPTransaction.h>

Inheritance diagram for proxygen::HTTPTransactionTransportCallback:
proxygen::MockHTTPTransactionTransportCallback

Public Member Functions

virtual void firstHeaderByteFlushed () noexcept=0
 
virtual void firstByteFlushed () noexcept=0
 
virtual void lastByteFlushed () noexcept=0
 
virtual void trackedByteFlushed () noexcept
 
virtual void lastByteAcked (std::chrono::milliseconds latency) noexcept=0
 
virtual void headerBytesGenerated (HTTPHeaderSize &size) noexcept=0
 
virtual void headerBytesReceived (const HTTPHeaderSize &size) noexcept=0
 
virtual void bodyBytesGenerated (size_t nbytes) noexcept=0
 
virtual void bodyBytesReceived (size_t size) noexcept=0
 
virtual ~HTTPTransactionTransportCallback ()
 

Detailed Description

Callback interface to be notified of events on the byte stream.

Definition at line 301 of file HTTPTransaction.h.

Constructor & Destructor Documentation

virtual proxygen::HTTPTransactionTransportCallback::~HTTPTransactionTransportCallback ( )
inlinevirtual

Definition at line 321 of file HTTPTransaction.h.

321 {}

Member Function Documentation

virtual void proxygen::HTTPTransactionTransportCallback::bodyBytesGenerated ( size_t  nbytes)
pure virtualnoexcept
virtual void proxygen::HTTPTransactionTransportCallback::bodyBytesReceived ( size_t  size)
pure virtualnoexcept
virtual void proxygen::HTTPTransactionTransportCallback::firstByteFlushed ( )
pure virtualnoexcept
virtual void proxygen::HTTPTransactionTransportCallback::firstHeaderByteFlushed ( )
pure virtualnoexcept
virtual void proxygen::HTTPTransactionTransportCallback::headerBytesGenerated ( HTTPHeaderSize size)
pure virtualnoexcept
virtual void proxygen::HTTPTransactionTransportCallback::headerBytesReceived ( const HTTPHeaderSize size)
pure virtualnoexcept
virtual void proxygen::HTTPTransactionTransportCallback::lastByteAcked ( std::chrono::milliseconds  latency)
pure virtualnoexcept
virtual void proxygen::HTTPTransactionTransportCallback::lastByteFlushed ( )
pure virtualnoexcept
virtual void proxygen::HTTPTransactionTransportCallback::trackedByteFlushed ( )
inlinevirtualnoexcept

Definition at line 309 of file HTTPTransaction.h.

References folly::size().

Referenced by proxygen::HTTPTransaction::onEgressTrackedByte().

309 {}

The documentation for this class was generated from the following file: