Asio Extensions
Additional functionality built on top of (Boost.)Asio
asioext::socks::detail::socks_sgreet_op< Socket, DynamicBuffer, Handler > Class Template Reference

#include <asioext/socks/detail/client.hpp>

+ Inheritance diagram for asioext::socks::detail::socks_sgreet_op< Socket, DynamicBuffer, Handler >:

Public Member Functions

 socks_sgreet_op (Handler &handler, Socket &socket, const auth_method *auth_methods, std::size_t num_auth_methods, DynamicBuffer &buffer)
 
void operator() (error_code ec, std::size_t bytes_transferred=0)
 
- Public Member Functions inherited from asioext::composed_operation< Handler >
 composed_operation (Handler &&handler)
 

Additional Inherited Members

- Public Attributes inherited from asioext::composed_operation< Handler >
Handler handler_
 

Constructor & Destructor Documentation

◆ socks_sgreet_op()

template<typename Socket , typename DynamicBuffer , typename Handler >
asioext::socks::detail::socks_sgreet_op< Socket, DynamicBuffer, Handler >::socks_sgreet_op ( Handler &  handler,
Socket &  socket,
const auth_method auth_methods,
std::size_t  num_auth_methods,
DynamicBuffer buffer 
)
inline

Member Function Documentation

◆ operator()()

template<typename Socket , typename DynamicBuffer , typename Handler >
void asioext::socks::detail::socks_sgreet_op< Socket, DynamicBuffer, Handler >::operator() ( error_code  ec,
std::size_t  bytes_transferred = 0 
)