proxygen
|
#include <folly/Memory.h>
#include <proxygen/lib/http/codec/HTTP1xCodec.h>
#include <proxygen/lib/http/codec/HTTP2Codec.h>
#include <proxygen/lib/http/codec/SPDYCodec.h>
#include <proxygen/lib/http/codec/TransportDirection.h>
#include <proxygen/lib/http/codec/test/MockHTTPCodec.h>
#include <proxygen/lib/http/session/test/HTTPSessionMocks.h>
Go to the source code of this file.
Functions | |
template<class MyCodec , class Version > | |
std::enable_if< std::is_enum< Version >::value, std::unique_ptr< MyCodec > >::type | makeClientCodec (Version version) |
template<class MyCodec , class Version > | |
std::enable_if< std::is_same< MyCodec, proxygen::HTTP1xCodec >::value, std::unique_ptr< MyCodec > >::type | makeClientCodec (Version) |
template<class MyCodec , class Version > | |
std::enable_if< std::is_same< MyCodec, proxygen::HTTP2Codec >::value, std::unique_ptr< MyCodec > >::type | makeClientCodec (Version) |
template<class MyCodec , class Version > | |
std::enable_if< std::is_same< MyCodec, proxygen::MockHTTPCodec >::value, std::unique_ptr< MyCodec > >::type | makeClientCodec (Version) |
template<class MyCodec , class Version > | |
std::enable_if< std::is_enum< Version >::value, std::unique_ptr< MyCodec > >::type | makeServerCodec (Version version) |
template<class MyCodec , class Version > | |
std::enable_if< std::is_same< MyCodec, proxygen::HTTP1xCodec >::value, std::unique_ptr< MyCodec > >::type | makeServerCodec (Version) |
template<class MyCodec , class Version > | |
std::enable_if< std::is_same< MyCodec, proxygen::HTTP2Codec >::value, std::unique_ptr< MyCodec > >::type | makeServerCodec (Version) |
template<class MyCodec , class Version > | |
std::enable_if< std::is_same< MyCodec, proxygen::MockHTTPCodec >::value, std::unique_ptr< MyCodec > >::type | makeServerCodec (Version) |
std::enable_if< std::is_enum<Version>::value, std::unique_ptr<MyCodec> >::type makeClientCodec | ( | Version | version | ) |
Definition at line 24 of file HTTPSessionTest.h.
References type, proxygen::UPSTREAM, value, and version.
std::enable_if<std::is_same<MyCodec, proxygen::HTTP1xCodec>::value, std::unique_ptr<MyCodec> >::type makeClientCodec | ( | Version | ) |
std::enable_if<std::is_same<MyCodec, proxygen::HTTP2Codec>::value, std::unique_ptr<MyCodec> >::type makeClientCodec | ( | Version | ) |
std::enable_if<std::is_same<MyCodec, proxygen::MockHTTPCodec>::value, std::unique_ptr<MyCodec> >::type makeClientCodec | ( | Version | ) |
Definition at line 48 of file HTTPSessionTest.h.
std::enable_if< std::is_enum<Version>::value, std::unique_ptr<MyCodec> >::type makeServerCodec | ( | Version | version | ) |
Definition at line 56 of file HTTPSessionTest.h.
References proxygen::DOWNSTREAM, type, and value.
Referenced by TEST_F().
std::enable_if<std::is_same<MyCodec, proxygen::HTTP1xCodec>::value, std::unique_ptr<MyCodec> >::type makeServerCodec | ( | Version | ) |
std::enable_if<std::is_same<MyCodec, proxygen::HTTP2Codec>::value, std::unique_ptr<MyCodec> >::type makeServerCodec | ( | Version | ) |
std::enable_if<std::is_same<MyCodec, proxygen::MockHTTPCodec>::value, std::unique_ptr<MyCodec> >::type makeServerCodec | ( | Version | ) |
Definition at line 81 of file HTTPSessionTest.h.