proxygen
|
Public Member Functions | |
Cb (folly::AsyncSSLSocket *sock) | |
void | connectSuccess () noexceptoverride |
void | connectErr (const folly::AsyncSocketException &) noexceptoverride |
const X509 * | getPeerCert () |
Public Member Functions inherited from folly::AsyncSocket::ConnectCallback | |
virtual | ~ConnectCallback ()=default |
Public Attributes | |
bool | success {false} |
bool | reusedSession {false} |
wangle::SSLSessionPtr | session |
folly::AsyncSSLSocket * | sock_ {nullptr} |
folly::ssl::X509UniquePtr | peerCert_ {nullptr} |
Definition at line 127 of file HTTPServerTest.cpp.
|
inlineexplicit |
Definition at line 129 of file HTTPServerTest.cpp.
|
inlineoverridevirtualnoexcept |
connectErr() will be invoked if the connection attempt fails.
ex | An exception describing the error that occurred. |
Implements folly::AsyncSocket::ConnectCallback.
Definition at line 141 of file HTTPServerTest.cpp.
References folly::detail::success.
|
inlineoverridevirtualnoexcept |
connectSuccess() will be invoked when the connection has been successfully established.
Implements folly::AsyncSocket::ConnectCallback.
Definition at line 130 of file HTTPServerTest.cpp.
References sock_, and folly::detail::success.
|
inline |
Definition at line 145 of file HTTPServerTest.cpp.
folly::ssl::X509UniquePtr Cb::peerCert_ {nullptr} |
Definition at line 151 of file HTTPServerTest.cpp.
bool Cb::reusedSession {false} |
Definition at line 148 of file HTTPServerTest.cpp.
wangle::SSLSessionPtr Cb::session |
Definition at line 149 of file HTTPServerTest.cpp.
folly::AsyncSSLSocket* Cb::sock_ {nullptr} |
Definition at line 150 of file HTTPServerTest.cpp.
bool Cb::success {false} |
Definition at line 147 of file HTTPServerTest.cpp.