proxygen
|
#include <SSLContext.h>
Public Member Functions | |
virtual | ~SSLAcceptRunner ()=default |
virtual void | run (Function< int()> acceptFunc, Function< void(int)> finallyFunc) const |
Run SSL_accept via a runner
Definition at line 71 of file SSLContext.h.
|
virtualdefault |
|
inlinevirtual |
This is expected to run the first function and provide its return value to the second function. This can be used to run the SSL_accept in different contexts.
Reimplemented in folly::SSLAcceptDestroyRunner, folly::SSLAcceptCloseRunner, folly::SSLAcceptErrorRunner, and folly::SSLAcceptEvbRunner.
Definition at line 80 of file SSLContext.h.