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.
Classes | Enumerations
web::websockets::client Namespace Reference

WebSocket client side library. More...

Classes

class  websocket_callback_client
 Websocket client class, used to maintain a connection to a remote host for an extended session, uses callback APIs for handling receive and close event instead of async task. For some scenarios would be a alternative for the websocket_client like if you want to special handling on close event. More...
 
class  websocket_client
 Websocket client class, used to maintain a connection to a remote host for an extended session. More...
 
class  websocket_client_config
 Websocket client configuration class, used to set the possible configuration options used to create an websocket_client instance. More...
 
class  websocket_exception
 Represents a websocket error. This class holds an error message and an optional error code. More...
 
class  websocket_incoming_message
 Represents an incoming websocket message More...
 
class  websocket_outgoing_message
 Represents an outgoing websocket message More...
 

Enumerations

enum  websocket_close_status {
  normal = 1000, going_away = 1001, protocol_error = 1002, unsupported = 1003,
  abnormal_close = 1006, inconsistent_datatype = 1007, policy_violation = 1008, too_large = 1009,
  negotiate_error = 1010, server_terminate = 1011
}
 Websocket close status values.
 
enum  websocket_message_type {
  text_message, binary_message, close, ping,
  pong
}
 The different types of websocket message. Text type contains UTF-8 encoded data. Interpretation of Binary type is left to the application. Note: The fragment types and control frames like close, ping, pong are not supported on WinRT. More...
 

Detailed Description

WebSocket client side library.

Enumeration Type Documentation

The different types of websocket message. Text type contains UTF-8 encoded data. Interpretation of Binary type is left to the application. Note: The fragment types and control frames like close, ping, pong are not supported on WinRT.