proxygen
|
#include <TestStreamingCallback.h>
Public Member Functions | |
void | onHeader (const folly::fbstring &name, const folly::fbstring &value) override |
void | onHeadersComplete (HTTPHeaderSize) override |
void | onDecodeError (HPACK::DecodeError decodeError) override |
void | reset () |
folly::Expected< HeaderDecodeResult, HPACK::DecodeError > | getResult () |
bool | hasError () const |
std::unique_ptr< std::vector< HPACKHeader > > | hpackHeaders () const |
char * | duplicate (const folly::fbstring &str) |
Public Member Functions inherited from proxygen::HPACK::StreamingCallback | |
virtual | ~StreamingCallback () |
Public Attributes | |
compress::HeaderPieceList | headers |
HPACK::DecodeError | error {HPACK::DecodeError::NONE} |
folly::Function< void()> | headersCompleteCb |
Public Attributes inherited from proxygen::HPACK::StreamingCallback | |
HeaderCodec::Stats * | stats {nullptr} |
Definition at line 18 of file TestStreamingCallback.h.
|
inline |
Definition at line 64 of file TestStreamingCallback.h.
References folly::basic_fbstring< E, T, A, Storage >::data(), and folly::basic_fbstring< E, T, A, Storage >::length().
Referenced by onHeader().
|
inline |
Definition at line 39 of file TestStreamingCallback.h.
References error, headers, folly::makeUnexpected(), and proxygen::HPACK::NONE.
Referenced by isLowercase(), and TEST_F().
|
inline |
Definition at line 47 of file TestStreamingCallback.h.
References error, and proxygen::HPACK::NONE.
Referenced by proxygen::hpack::decode(), encodeDecode(), proxygen::hpack::encodeDecode(), hpackHeaders(), isLowercase(), and TEST().
|
inline |
Definition at line 51 of file TestStreamingCallback.h.
References hasError(), headers, and i.
Referenced by proxygen::hpack::decode(), and proxygen::hpack::encodeDecode().
|
inlineoverridevirtual |
Implements proxygen::HPACK::StreamingCallback.
Definition at line 30 of file TestStreamingCallback.h.
References error.
|
inlineoverridevirtual |
Implements proxygen::HPACK::StreamingCallback.
Definition at line 20 of file TestStreamingCallback.h.
References duplicate(), headers, and folly::basic_fbstring< E, T, A, Storage >::size().
|
inlineoverridevirtual |
Implements proxygen::HPACK::StreamingCallback.
Definition at line 25 of file TestStreamingCallback.h.
References headersCompleteCb.
|
inline |
Definition at line 34 of file TestStreamingCallback.h.
References error, headers, and proxygen::HPACK::NONE.
Referenced by TEST_F().
HPACK::DecodeError proxygen::TestStreamingCallback::error {HPACK::DecodeError::NONE} |
Definition at line 63 of file TestStreamingCallback.h.
Referenced by getResult(), hasError(), isLowercase(), onDecodeError(), and reset().
compress::HeaderPieceList proxygen::TestStreamingCallback::headers |
Definition at line 62 of file TestStreamingCallback.h.
Referenced by getResult(), hpackHeaders(), onHeader(), and reset().
folly::Function<void()> proxygen::TestStreamingCallback::headersCompleteCb |
Definition at line 70 of file TestStreamingCallback.h.
Referenced by onHeadersComplete().