An interface that provides the ability to intercept the creation of sockets.
More...
#include <socket_interceptor.h>
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
socket_interceptor & | on_connect (Handler &&h) & |
| Set an handler function that will be called with a Socket, each time the client creates a connection to any Member. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
socket_interceptor && | on_connect (Handler &&h) && |
|
|
class | connection::ClientConnectionManagerImpl |
|
An interface that provides the ability to intercept the creation of sockets.
- See also
- ClientConfig::setSocketInterceptor
◆ on_connect() [1/2]
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>>
Set an handler function that will be called with a Socket, each time the client creates a connection to any Member.
- Parameters
-
h | a void function object that is callable with a single parameter of type const Socket & |
◆ on_connect() [2/2]
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>>
The documentation for this class was generated from the following file: