26 std::shared_ptr<const FizzClientContext>
context,
27 std::shared_ptr<const CertificateVerifier>,
30 const std::shared_ptr<ClientExtensions>& extensions));
33 std::shared_ptr<const FizzClientContext> context,
34 std::shared_ptr<const CertificateVerifier> verifier,
37 const std::shared_ptr<ClientExtensions>& extensions)
override {
38 return *_processConnect(
39 state, context, verifier, host, cachedPsk, extensions);
47 return *_processSocketData(state, queue);
54 return *_processAppWrite(state, appWrite);
58 _processEarlyAppWrite,
62 return *_processEarlyAppWrite(state, appWrite);
67 return *_processAppClose(state);
71 template <
typename SM>
76 _fizzHandshakeSuccess();
100 std::shared_ptr<const CertificateVerifier>,
103 std::chrono::milliseconds));
119 MOCK_METHOD1(onEncryptedExtensions,
void(
const std::vector<Extension>&));
void fizzHandshakeSuccess(AsyncFizzClientT< SM > *) noexceptoverride
void fizzHandshakeError(AsyncFizzClientT< SM > *, folly::exception_wrapper ew) noexceptoverride
int connect(NetworkSocket s, const sockaddr *name, socklen_t namelen)
constexpr detail::Map< Move > move
Actions processSocketData(const State &state, folly::IOBufQueue &queue) override
MOCK_METHOD1(_processAppClose, folly::Optional< Actions >(const State &))
static AppWrite appWrite(const std::string &str)
—— Concurrent Priority Queue Implementation ——
Actions processAppClose(const State &state) override
requires E e noexcept(noexcept(s.error(std::move(e))))
std::unique_ptr< AsyncFizzClientT, folly::DelayedDestruction::Destructor > UniquePtr
MOCK_METHOD2(_processSocketData, folly::Optional< Actions >(const State &, folly::IOBufQueue &))
Actions processEarlyAppWrite(const State &state, EarlyAppWrite appWrite) override
Actions processAppWrite(const State &state, AppWrite appWrite) override
#define MOCK_METHOD5(m,...)
Actions processConnect(const State &state, std::shared_ptr< const FizzClientContext > context, std::shared_ptr< const CertificateVerifier > verifier, folly::Optional< std::string > host, folly::Optional< CachedPsk > cachedPsk, const std::shared_ptr< ClientExtensions > &extensions) override
MOCK_METHOD6(_processConnect, folly::Optional< Actions >(const State &, std::shared_ptr< const FizzClientContext > context, std::shared_ptr< const CertificateVerifier >, folly::Optional< std::string > host, folly::Optional< CachedPsk > cachedPsk, const std::shared_ptr< ClientExtensions > &extensions))
std::vector< Action > Actions
#define MOCK_CONST_METHOD0(m,...)
int close(NetworkSocket s)
#define MOCK_METHOD0(m,...)