C++ Rest SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
web::websockets::client::details::websocket_client_callback_impl Class Referenceabstract

Public Member Functions

 websocket_client_callback_impl (websocket_client_config config)
 
virtual pplx::task< void > connect ()=0
 
virtual pplx::task< void > send (websocket_outgoing_message &msg)=0
 
virtual void set_message_handler (const std::function< void(const websocket_incoming_message &)> &handler)=0
 
virtual pplx::task< void > close ()=0
 
virtual pplx::task< void > close (websocket_close_status close_status, const utility::string_t &close_reason=_XPLATSTR(""))=0
 
virtual void set_close_handler (const std::function< void(websocket_close_status, const utility::string_t &, const std::error_code &)> &handler)=0
 
const web::uriuri () const
 
void set_uri (const web::uri &uri)
 
const websocket_client_configconfig () const
 

Static Public Member Functions

static void verify_uri (const web::uri &uri)
 

Protected Attributes

web::uri m_uri
 
websocket_client_config m_config
 

The documentation for this class was generated from the following file: