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

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

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

Public Member Functions

 socks_slogin_op (Handler &handler, Socket &socket, const std::string &username, const std::string &password, 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_slogin_op()

template<typename Socket , typename DynamicBuffer , typename Handler >
asioext::socks::detail::socks_slogin_op< Socket, DynamicBuffer, Handler >::socks_slogin_op ( Handler &  handler,
Socket &  socket,
const std::string username,
const std::string password,
DynamicBuffer buffer 
)
inline

Member Function Documentation

◆ operator()()

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