proxygen
|
#include <HTTPCodecFactory.h>
Public Member Functions | |
HTTPCodecFactory () | |
virtual | ~HTTPCodecFactory () |
virtual std::unique_ptr< HTTPCodec > | getCodec (const std::string &protocolHint, TransportDirection direction, bool isTLS)=0 |
Static Public Member Functions | |
static std::unique_ptr< HTTPCodec > | getCodec (CodecProtocol protocol, TransportDirection direction) |
Factory for produces HTTPCodec objects.
Definition at line 20 of file HTTPCodecFactory.h.
|
inlineexplicit |
Definition at line 22 of file HTTPCodecFactory.h.
|
inlinevirtual |
|
pure virtual |
Get a codec instance
Implemented in proxygen::HTTPDefaultSessionCodecFactory, and proxygen::DefaultHTTPCodecFactory.
Referenced by proxygen::HTTPDownstreamSession::onNativeProtocolUpgrade(), and ~HTTPCodecFactory().
|
static |
Definition at line 17 of file HTTPCodecFactory.cpp.
References proxygen::HTTP_1_1, proxygen::HTTP_2, proxygen::SPDY3, proxygen::SPDY3_1, proxygen::SPDY_3, and proxygen::SPDY_3_1.