proxygen
proxygen::MockHTTPTransaction Class Reference

#include <HTTPTransactionMocks.h>

Inheritance diagram for proxygen::MockHTTPTransaction:
proxygen::HTTPTransaction folly::HHWheelTimer::Callback folly::DelayedDestructionBase

Public Member Functions

 MockHTTPTransaction (TransportDirection direction, HTTPCodec::StreamID id, uint32_t seqNo, const HTTP2PriorityQueue &egressQueue, folly::HHWheelTimer *timer=nullptr, const folly::Optional< std::chrono::milliseconds > &transactionTimeout=folly::Optional< std::chrono::milliseconds >(), HTTPSessionStats *stats=nullptr, bool useFlowControl=false, uint32_t receiveInitialWindowSize=0, uint32_t sendInitialWindowSize=0, http2::PriorityUpdate priority=http2::DefaultPriority, folly::Optional< HTTPCodec::StreamID > assocStreamId=HTTPCodec::NoStream, folly::Optional< HTTPCodec::ExAttributes > exAttributes=HTTPCodec::NoExAttributes)
 
 MockHTTPTransaction (TransportDirection direction, HTTPCodec::StreamID id, uint32_t seqNo, const HTTP2PriorityQueue &egressQueue, const WheelTimerInstance &timeout, HTTPSessionStats *stats=nullptr, bool useFlowControl=false, uint32_t receiveInitialWindowSize=0, uint32_t sendInitialWindowSize=0, http2::PriorityUpdate priority=http2::DefaultPriority, folly::Optional< HTTPCodec::StreamID > assocStreamId=HTTPCodec::NoStream, folly::Optional< HTTPCodec::ExAttributes > exAttributes=HTTPCodec::NoExAttributes)
 
 MockHTTPTransaction (TransportDirection direction, HTTPCodec::StreamID id, uint32_t seqNo, const HTTP2PriorityQueue &egressQueue, const WheelTimerInstance &timeout, folly::Optional< HTTPCodec::ExAttributes > exAttributes)
 
 MOCK_CONST_METHOD0 (extraResponseExpected, bool())
 
 MOCK_METHOD1 (setHandler, void(HTTPTransactionHandler *))
 
void setHandlerUnmocked (HTTPTransactionHandler *handler)
 
 MOCK_CONST_METHOD0 (canSendHeaders, bool())
 
 MOCK_METHOD1 (sendHeaders, void(const HTTPMessage &headers))
 
 MOCK_METHOD1 (sendHeadersWithEOM, void(const HTTPMessage &headers))
 
 MOCK_METHOD1 (sendBody, void(std::shared_ptr< folly::IOBuf >))
 
void sendBody (std::unique_ptr< folly::IOBuf > iob) noexceptoverride
 
 MOCK_METHOD1 (sendChunkHeader, void(size_t))
 
 MOCK_METHOD0 (sendChunkTerminator, void())
 
 MOCK_METHOD1 (sendTrailers, void(const HTTPHeaders &trailers))
 
 MOCK_METHOD0 (sendEOM, void())
 
 MOCK_METHOD0 (sendAbort, void())
 
 MOCK_METHOD0 (drop, void())
 
 MOCK_METHOD0 (pauseIngress, void())
 
 MOCK_METHOD0 (resumeIngress, void())
 
 MOCK_CONST_METHOD0 (handlerEgressPaused, bool())
 
 MOCK_METHOD1 (newPushedTransaction, HTTPTransaction *(HTTPPushTransactionHandler *))
 
 MOCK_METHOD1 (setReceiveWindow, void(uint32_t))
 
 MOCK_CONST_METHOD0 (getReceiveWindow, const Window &())
 
 MOCK_METHOD1 (addWaitingForReplaySafety, void(folly::AsyncTransport::ReplaySafetyCallback *))
 
 MOCK_METHOD1 (removeWaitingForReplaySafety, void(folly::AsyncTransport::ReplaySafetyCallback *))
 
void enablePush ()
 
- Public Member Functions inherited from proxygen::HTTPTransaction
 HTTPTransaction (TransportDirection direction, HTTPCodec::StreamID id, uint32_t seqNo, Transport &transport, HTTP2PriorityQueueBase &egressQueue, folly::HHWheelTimer *timer=nullptr, const folly::Optional< std::chrono::milliseconds > &defaultTimeout=folly::Optional< std::chrono::milliseconds >(), HTTPSessionStats *stats=nullptr, bool useFlowControl=false, uint32_t receiveInitialWindowSize=0, uint32_t sendInitialWindowSize=0, http2::PriorityUpdate=http2::DefaultPriority, folly::Optional< HTTPCodec::StreamID > assocStreamId=HTTPCodec::NoStream, folly::Optional< HTTPCodec::ExAttributes > exAttributes=HTTPCodec::NoExAttributes)
 
 ~HTTPTransaction () override
 
void reset (bool useFlowControl, uint32_t receiveInitialWindowSize, uint32_t receiveStreamWindowSize, uint32_t sendInitialWindowSize)
 
HTTPCodec::StreamID getID () const
 
uint32_t getSequenceNumber () const
 
const TransportgetTransport () const
 
TransportgetTransport ()
 
virtual void setHandler (Handler *handler)
 
const HandlergetHandler () const
 
http2::PriorityUpdate getPriority () const
 
std::tuple< uint64_t, uint64_t, double > getPrioritySummary () const
 
bool getPriorityFallback () const
 
HTTPTransactionEgressSM::State getEgressState () const
 
HTTPTransactionIngressSM::State getIngressState () const
 
bool isUpstream () const
 
bool isDownstream () const
 
void getLocalAddress (folly::SocketAddress &addr) const
 
void getPeerAddress (folly::SocketAddress &addr) const
 
const folly::SocketAddressgetLocalAddress () const noexcept
 
const folly::SocketAddressgetPeerAddress () const noexcept
 
const wangle::TransportInfogetSetupTransportInfo () const noexcept
 
void getCurrentTransportInfo (wangle::TransportInfo *tinfo) const
 
HTTPSessionStatsgetSessionStats () const
 
virtual bool extraResponseExpected () const
 
virtual void setReceiveWindow (uint32_t capacity)
 
virtual const WindowgetReceiveWindow () const
 
uint32_t getMaxDeferredSize ()
 
void onIngressHeadersComplete (std::unique_ptr< HTTPMessage > msg)
 
void onIngressBody (std::unique_ptr< folly::IOBuf > chain, uint16_t padding)
 
void onIngressChunkHeader (size_t length)
 
void onIngressChunkComplete ()
 
void onIngressTrailers (std::unique_ptr< HTTPHeaders > trailers)
 
void onIngressUpgrade (UpgradeProtocol protocol)
 
void onIngressEOM ()
 
void onError (const HTTPException &error)
 
void onGoaway (ErrorCode code)
 
void onIngressTimeout ()
 
void onIngressWindowUpdate (uint32_t amount)
 
void onIngressSetSendWindow (uint32_t newWindowSize)
 
bool onWriteReady (uint32_t maxEgress, double ratio)
 
void onEgressTimeout ()
 
void onEgressHeaderFirstByte ()
 
void onEgressBodyFirstByte ()
 
void onEgressBodyLastByte ()
 
void onEgressTrackedByte ()
 
void onEgressLastByteAck (std::chrono::milliseconds latency)
 
void setTransportCallback (TransportCallback *cb)
 
bool isIngressStarted () const
 
bool isIngressEOMQueued () const
 
bool isIngressComplete () const
 
bool isIngressEOMSeen () const
 
bool isEgressStarted () const
 
bool isEgressEOMQueued () const
 
bool isEgressComplete () const
 
bool isRemoteInitiated () const
 
bool isEgressEOMSeen () const
 
virtual bool canSendHeaders () const
 
virtual void sendHeaders (const HTTPMessage &headers)
 
virtual void sendHeadersWithEOM (const HTTPMessage &headers)
 
virtual void sendHeadersWithOptionalEOM (const HTTPMessage &headers, bool eom)
 
virtual void sendChunkHeader (size_t length)
 
virtual void sendChunkTerminator ()
 
virtual void sendTrailers (const HTTPHeaders &trailers)
 
virtual void sendEOM ()
 
virtual void sendAbort ()
 
virtual void pauseIngress ()
 
virtual void resumeIngress ()
 
bool isIngressPaused () const
 
void pauseEgress ()
 
void resumeEgress ()
 
void setEgressRateLimit (uint64_t bitsPerSecond)
 
bool isEgressPaused () const
 
bool isFlowControlPaused () const
 
bool supportsPushTransactions () const
 
virtual HTTPTransactionnewPushedTransaction (HTTPPushTransactionHandler *handler)
 
virtual HTTPTransactionnewExTransaction (HTTPTransactionHandler *handler, bool unidirectional=false)
 
bool onPushedTransaction (HTTPTransaction *txn)
 
bool onExTransaction (HTTPTransaction *txn)
 
bool isPushed () const
 
bool isExTransaction () const
 
bool isUnidirectional () const
 
void setIdleTimeout (std::chrono::milliseconds transactionTimeout)
 
bool hasIdleTimeout () const
 
std::chrono::milliseconds getIdleTimeout () const
 
folly::Optional< HTTPCodec::StreamIDgetAssocTxnId () const
 
folly::Optional< HTTPCodec::StreamIDgetControlStream () const
 
folly::Optional< HTTPCodec::ExAttributesgetExAttributes () const
 
const std::set< HTTPCodec::StreamID > & getPushedTransactions () const
 
std::set< HTTPCodec::StreamIDgetExTransactions () const
 
void removePushedTransaction (HTTPCodec::StreamID pushStreamId)
 
void removeExTransaction (HTTPCodec::StreamID exStreamId)
 
void refreshTimeout ()
 
bool testAndSetFirstByteSent ()
 
bool testAndClearActive ()
 
bool testAndSetFirstHeaderByteSent ()
 
void incrementPendingByteEvents ()
 
void decrementPendingByteEvents ()
 
void timeoutExpired () noexceptoverride
 
void describe (std::ostream &os) const
 
void updateAndSendPriority (int8_t newPriority)
 
void updateAndSendPriority (const http2::PriorityUpdate &pri)
 
void onPriorityUpdate (const http2::PriorityUpdate &priority)
 
virtual void addWaitingForReplaySafety (folly::AsyncTransport::ReplaySafetyCallback *callback)
 
virtual void removeWaitingForReplaySafety (folly::AsyncTransport::ReplaySafetyCallback *callback)
 
virtual bool needToBlockForReplaySafety () const
 
int32_t getRecvToAck () const
 
bool isPrioritySampled () const
 
void setPrioritySampled (bool sampled)
 
void updateContentionsCount (uint64_t contentions)
 
void updateRelativeWeight (double ratio)
 
void updateSessionBytesSheduled (uint64_t bytes)
 
void updateTransactionBytesSent (uint64_t bytes)
 
bool getPrioritySampleSummary (PrioritySampleSummary &summary) const
 
HPACKTableInfogetHPACKTableInfo ()
 
bool hasPendingBody () const
 
void setLastByteFlushedTrackingEnabled (bool enabled)
 
- Public Member Functions inherited from folly::HHWheelTimer::Callback
 Callback ()=default
 
virtual ~Callback ()
 
virtual void callbackCanceled () noexcept
 
void cancelTimeout ()
 
bool isScheduled () const
 
std::chrono::milliseconds getTimeRemaining ()
 
- Public Member Functions inherited from folly::DelayedDestructionBase
virtual ~DelayedDestructionBase ()=default
 

Public Attributes

testing::NiceMock< MockHTTPTransactionTransportmockTransport_
 
const folly::SocketAddress defaultAddress_
 
MockHTTPCodec mockCodec_
 
wangle::TransportInfo setupTransportInfo_
 

Additional Inherited Members

- Public Types inherited from proxygen::HTTPTransaction
using Handler = HTTPTransactionHandler
 
using PushHandler = HTTPPushTransactionHandler
 
using TransportCallback = HTTPTransactionTransportCallback
 
- Protected Member Functions inherited from folly::HHWheelTimer::Callback
virtual std::chrono::steady_clock::time_point getCurTime ()
 
- Protected Member Functions inherited from folly::DelayedDestructionBase
 DelayedDestructionBase ()
 
uint32_t getDestructorGuardCount () const
 

Detailed Description

Definition at line 127 of file HTTPTransactionMocks.h.

Constructor & Destructor Documentation

proxygen::MockHTTPTransaction::MockHTTPTransaction ( TransportDirection  direction,
HTTPCodec::StreamID  id,
uint32_t  seqNo,
const HTTP2PriorityQueue egressQueue,
folly::HHWheelTimer timer = nullptr,
const folly::Optional< std::chrono::milliseconds > &  transactionTimeout = folly::Optional<std::chrono::milliseconds>(),
HTTPSessionStats stats = nullptr,
bool  useFlowControl = false,
uint32_t  receiveInitialWindowSize = 0,
uint32_t  sendInitialWindowSize = 0,
http2::PriorityUpdate  priority = http2::DefaultPriority,
folly::Optional< HTTPCodec::StreamID assocStreamId = HTTPCodec::NoStream,
folly::Optional< HTTPCodec::ExAttributes exAttributes = HTTPCodec::NoExAttributes 
)
inline

Definition at line 129 of file HTTPTransactionMocks.h.

References testing::_, EXPECT_CALL, handler(), testing::Invoke(), proxygen::MockHTTPTransactionTransport::mockCodec_, ON_CALL, testing::Return(), and testing::ReturnRef().

146  :
147  HTTPTransaction(direction, id, seqNo, mockTransport_,
148  const_cast<HTTP2PriorityQueue&>(egressQueue),
149  timer, transactionTimeout, stats, useFlowControl,
150  receiveInitialWindowSize,
151  sendInitialWindowSize,
152  priority, assocStreamId, exAttributes),
153  defaultAddress_("127.0.0.1", 80) {
154  EXPECT_CALL(mockTransport_, getLocalAddressNonConst())
155  .WillRepeatedly(testing::ReturnRef(defaultAddress_));
156  EXPECT_CALL(mockTransport_, getPeerAddressNonConst())
157  .WillRepeatedly(testing::ReturnRef(defaultAddress_));
158  EXPECT_CALL(mockTransport_, getCodecNonConst())
159  .WillRepeatedly(testing::ReturnRef(mockCodec_));
160  EXPECT_CALL(mockTransport_, getSetupTransportInfoNonConst())
161  .WillRepeatedly(testing::ReturnRef(setupTransportInfo_));
162 
163  // Some tests unfortunately require a half-mocked HTTPTransaction.
164  ON_CALL(*this, setHandler(testing::_))
165  .WillByDefault(testing::Invoke([this] (HTTPTransactionHandler* handler) {
166  this->setHandlerUnmocked(handler);
167  }));
168 
169  // By default we expect canSendHeaders in test to return true
170  // Tests that specifically require canSendHeaders to return false need
171  // to set the behavior locally. This is due to the fact that the mocked
172  // methods below imply internal state is not correctly tracked/managed
173  // in the context of tests
174  ON_CALL(*this, canSendHeaders()).WillByDefault(testing::Return(true));
175  }
virtual void setHandler(Handler *handler)
internal::ReturnRefAction< R > ReturnRef(R &x)
void handler(int, siginfo_t *, void *)
void setHandlerUnmocked(HTTPTransactionHandler *handler)
const folly::SocketAddress defaultAddress_
PolymorphicAction< internal::InvokeAction< FunctionImpl > > Invoke(FunctionImpl function_impl)
virtual bool canSendHeaders() const
testing::NiceMock< MockHTTPTransactionTransport > mockTransport_
#define ON_CALL(obj, call)
HTTPTransaction(TransportDirection direction, HTTPCodec::StreamID id, uint32_t seqNo, Transport &transport, HTTP2PriorityQueueBase &egressQueue, folly::HHWheelTimer *timer=nullptr, const folly::Optional< std::chrono::milliseconds > &defaultTimeout=folly::Optional< std::chrono::milliseconds >(), HTTPSessionStats *stats=nullptr, bool useFlowControl=false, uint32_t receiveInitialWindowSize=0, uint32_t sendInitialWindowSize=0, http2::PriorityUpdate=http2::DefaultPriority, folly::Optional< HTTPCodec::StreamID > assocStreamId=HTTPCodec::NoStream, folly::Optional< HTTPCodec::ExAttributes > exAttributes=HTTPCodec::NoExAttributes)
#define EXPECT_CALL(obj, call)
const internal::AnythingMatcher _
wangle::TransportInfo setupTransportInfo_
internal::ReturnAction< R > Return(R value)
proxygen::MockHTTPTransaction::MockHTTPTransaction ( TransportDirection  direction,
HTTPCodec::StreamID  id,
uint32_t  seqNo,
const HTTP2PriorityQueue egressQueue,
const WheelTimerInstance timeout,
HTTPSessionStats stats = nullptr,
bool  useFlowControl = false,
uint32_t  receiveInitialWindowSize = 0,
uint32_t  sendInitialWindowSize = 0,
http2::PriorityUpdate  priority = http2::DefaultPriority,
folly::Optional< HTTPCodec::StreamID assocStreamId = HTTPCodec::NoStream,
folly::Optional< HTTPCodec::ExAttributes exAttributes = HTTPCodec::NoExAttributes 
)
inline

Definition at line 177 of file HTTPTransactionMocks.h.

191  :
192  MockHTTPTransaction(direction,
193  id,
194  seqNo,
195  egressQueue,
196  timeout.getWheelTimer(),
197  timeout.getDefaultTimeout(),
198  stats,
199  useFlowControl,
200  receiveInitialWindowSize,
201  sendInitialWindowSize,
202  priority,
203  assocStreamId,
204  exAttributes) {}
MockHTTPTransaction(TransportDirection direction, HTTPCodec::StreamID id, uint32_t seqNo, const HTTP2PriorityQueue &egressQueue, folly::HHWheelTimer *timer=nullptr, const folly::Optional< std::chrono::milliseconds > &transactionTimeout=folly::Optional< std::chrono::milliseconds >(), HTTPSessionStats *stats=nullptr, bool useFlowControl=false, uint32_t receiveInitialWindowSize=0, uint32_t sendInitialWindowSize=0, http2::PriorityUpdate priority=http2::DefaultPriority, folly::Optional< HTTPCodec::StreamID > assocStreamId=HTTPCodec::NoStream, folly::Optional< HTTPCodec::ExAttributes > exAttributes=HTTPCodec::NoExAttributes)
proxygen::MockHTTPTransaction::MockHTTPTransaction ( TransportDirection  direction,
HTTPCodec::StreamID  id,
uint32_t  seqNo,
const HTTP2PriorityQueue egressQueue,
const WheelTimerInstance timeout,
folly::Optional< HTTPCodec::ExAttributes exAttributes 
)
inline

Definition at line 206 of file HTTPTransactionMocks.h.

References proxygen::MockHTTPTransactionTransport::MOCK_CONST_METHOD0(), and proxygen::MockHTTPTransactionTransport::MOCK_METHOD1().

212  :
213  MockHTTPTransaction(direction,
214  id,
215  seqNo,
216  egressQueue,
217  timeout.getWheelTimer(),
218  timeout.getDefaultTimeout(),
219  nullptr,
220  false,
221  0,
222  0,
225  exAttributes) {}
const PriorityUpdate DefaultPriority
Definition: HTTP2Framer.cpp:21
MockHTTPTransaction(TransportDirection direction, HTTPCodec::StreamID id, uint32_t seqNo, const HTTP2PriorityQueue &egressQueue, folly::HHWheelTimer *timer=nullptr, const folly::Optional< std::chrono::milliseconds > &transactionTimeout=folly::Optional< std::chrono::milliseconds >(), HTTPSessionStats *stats=nullptr, bool useFlowControl=false, uint32_t receiveInitialWindowSize=0, uint32_t sendInitialWindowSize=0, http2::PriorityUpdate priority=http2::DefaultPriority, folly::Optional< HTTPCodec::StreamID > assocStreamId=HTTPCodec::NoStream, folly::Optional< HTTPCodec::ExAttributes > exAttributes=HTTPCodec::NoExAttributes)
static const folly::Optional< StreamID > NoStream
Definition: HTTPCodec.h:51

Member Function Documentation

void proxygen::MockHTTPTransaction::enablePush ( )
inline

Definition at line 261 of file HTTPTransactionMocks.h.

References EXPECT_CALL, proxygen::MockHTTPTransactionTransport::mockCodec_, and testing::Return().

261  {
263  .WillRepeatedly(testing::Return(true));
264  }
#define EXPECT_CALL(obj, call)
bool supportsPushTransactions() const
internal::ReturnAction< R > Return(R value)
proxygen::MockHTTPTransaction::MOCK_CONST_METHOD0 ( extraResponseExpected  ,
bool()   
)
proxygen::MockHTTPTransaction::MOCK_CONST_METHOD0 ( canSendHeaders  ,
bool()   
)
proxygen::MockHTTPTransaction::MOCK_CONST_METHOD0 ( handlerEgressPaused  ,
bool()   
)
proxygen::MockHTTPTransaction::MOCK_CONST_METHOD0 ( getReceiveWindow  ,
const Window () 
)
proxygen::MockHTTPTransaction::MOCK_METHOD0 ( sendChunkTerminator  ,
void()   
)
proxygen::MockHTTPTransaction::MOCK_METHOD0 ( sendEOM  ,
void()   
)
proxygen::MockHTTPTransaction::MOCK_METHOD0 ( sendAbort  ,
void()   
)
proxygen::MockHTTPTransaction::MOCK_METHOD0 ( drop  ,
void()   
)
proxygen::MockHTTPTransaction::MOCK_METHOD0 ( pauseIngress  ,
void()   
)
proxygen::MockHTTPTransaction::MOCK_METHOD0 ( resumeIngress  ,
void()   
)
proxygen::MockHTTPTransaction::MOCK_METHOD1 ( setHandler  ,
void(HTTPTransactionHandler *)   
)
proxygen::MockHTTPTransaction::MOCK_METHOD1 ( sendHeaders  ,
void(const HTTPMessage &headers)   
)
proxygen::MockHTTPTransaction::MOCK_METHOD1 ( sendHeadersWithEOM  ,
void(const HTTPMessage &headers)   
)
proxygen::MockHTTPTransaction::MOCK_METHOD1 ( sendBody  ,
void(std::shared_ptr< folly::IOBuf >)   
)
proxygen::MockHTTPTransaction::MOCK_METHOD1 ( sendChunkHeader  ,
void(size_t)   
)
proxygen::MockHTTPTransaction::MOCK_METHOD1 ( sendTrailers  ,
void(const HTTPHeaders &trailers)   
)
proxygen::MockHTTPTransaction::MOCK_METHOD1 ( newPushedTransaction  ,
HTTPTransaction HTTPPushTransactionHandler * 
)
proxygen::MockHTTPTransaction::MOCK_METHOD1 ( setReceiveWindow  ,
void(uint32_t  
)
proxygen::MockHTTPTransaction::MOCK_METHOD1 ( addWaitingForReplaySafety  ,
void(folly::AsyncTransport::ReplaySafetyCallback *)   
)
proxygen::MockHTTPTransaction::MOCK_METHOD1 ( removeWaitingForReplaySafety  ,
void(folly::AsyncTransport::ReplaySafetyCallback *)   
)
void proxygen::MockHTTPTransaction::sendBody ( std::unique_ptr< folly::IOBuf body)
inlineoverridevirtualnoexcept

Send part or all of the egress message body to the Transport. If flow control is enabled, the chunk boundaries may not be respected. This method does not actually write the message out on the wire immediately. All writes happen at the end of the event loop at the earliest. Note: This method may be called zero or more times per message.

Parameters
bodyMessage body data; the Transport will take care of applying any necessary protocol framing, such as chunk headers.

Reimplemented from proxygen::HTTPTransaction.

Definition at line 239 of file HTTPTransactionMocks.h.

References proxygen::HTTPTransaction::Transport::addWaitingForReplaySafety(), proxygen::MockHTTPTransactionTransport::MOCK_CONST_METHOD0(), proxygen::MockHTTPTransactionTransport::MOCK_METHOD0(), proxygen::MockHTTPTransactionTransport::MOCK_METHOD1(), proxygen::HTTPTransaction::Transport::newPushedTransaction(), proxygen::HTTPTransaction::Transport::pauseIngress(), proxygen::HTTPTransaction::Transport::removeWaitingForReplaySafety(), proxygen::HTTPTransaction::Transport::resumeIngress(), proxygen::HTTPTransaction::Transport::sendAbort(), proxygen::MockHTTPTransactionTransport::sendBody(), proxygen::HTTPTransaction::Transport::sendChunkHeader(), proxygen::HTTPTransaction::Transport::sendChunkTerminator(), proxygen::HTTPTransaction::Transport::sendEOM(), and uint32_t.

239  {
240  sendBody(std::shared_ptr<folly::IOBuf>(iob.release()));
241  }
void sendBody(std::unique_ptr< folly::IOBuf > iob) noexceptoverride

Member Data Documentation

const folly::SocketAddress proxygen::MockHTTPTransaction::defaultAddress_

Definition at line 267 of file HTTPTransactionMocks.h.

MockHTTPCodec proxygen::MockHTTPTransaction::mockCodec_

Definition at line 268 of file HTTPTransactionMocks.h.

testing::NiceMock<MockHTTPTransactionTransport> proxygen::MockHTTPTransaction::mockTransport_

Definition at line 266 of file HTTPTransactionMocks.h.

wangle::TransportInfo proxygen::MockHTTPTransaction::setupTransportInfo_

Definition at line 269 of file HTTPTransactionMocks.h.


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