proxygen
|
Public Member Functions | |
SPDY31DownstreamTest () | |
Public Member Functions inherited from HTTPDownstreamTest< SPDY3_1CodecPair > | |
HTTPDownstreamTest (std::vector< int64_t > flowControl={-1,-1,-1}, bool startImmediately=true) | |
HTTPCodec::StreamID | sendRequest (const std::string &url="/", int8_t priority=0, bool eom=true) |
HTTPCodec::StreamID | sendRequest (const HTTPMessage &req, bool eom=true) |
HTTPCodec::StreamID | sendHeader () |
Promise< Unit > | sendRequestLater (HTTPMessage req, bool eof=false) |
void | SetUp () override |
void | cleanup () |
std::unique_ptr< testing::StrictMock< MockHTTPHandler > > | addSimpleStrictHandler () |
std::unique_ptr< testing::NiceMock< MockHTTPHandler > > | addSimpleNiceHandler () |
void | onEOMTerminateHandlerExpectShutdown (MockHTTPHandler &handler) |
void | expectDetachSession () |
void | addSingleByteReads (const char *data, milliseconds delay={}) |
void | flushRequestsAndLoop (bool eof=false, milliseconds eofDelay=milliseconds(0), milliseconds initialDelay=milliseconds(0), std::function< void()> extraEventsFn=std::function< void()>()) |
void | flushRequestsAndLoopN (uint64_t n, bool eof=false, milliseconds eofDelay=milliseconds(0), milliseconds initialDelay=milliseconds(0), std::function< void()> extraEventsFn=std::function< void()>()) |
void | flushRequests (bool eof=false, milliseconds eofDelay=milliseconds(0), milliseconds initialDelay=milliseconds(0), std::function< void()> extraEventsFn=std::function< void()>()) |
void | testSimpleUpgrade (const std::string &upgradeHeader, CodecProtocol expectedProtocol, const std::string &expectedUpgradeHeader) |
void | gracefulShutdown () |
void | testPriorities (uint32_t numPriorities) |
void | testChunks (bool trailers) |
void | expect101 (CodecProtocol expectedProtocol, const std::string &expectedUpgrade, bool expect100=false) |
void | expectResponse (uint32_t code=200, ErrorCode errorCode=ErrorCode::NO_ERROR, bool expect100=false, bool expectGoaway=false) |
void | expectResponses (uint32_t n, uint32_t code=200, ErrorCode errorCode=ErrorCode::NO_ERROR, bool expect100=false, bool expectGoaway=false) |
void | parseOutput (HTTPCodec &clientCodec) |
void | resumeWritesInLoop () |
void | resumeWritesAfterDelay (milliseconds delay) |
MockByteEventTracker * | setMockByteEventTracker () |
Public Member Functions inherited from testing::Test | |
virtual | ~Test () |
virtual | ~Test () |
virtual | ~Test () |
Definition at line 2522 of file HTTPDownstreamSessionTest.cpp.
|
inline |
Definition at line 2524 of file HTTPDownstreamSessionTest.cpp.
References proxygen::http2::kInitialWindow.