Represents an outgoing websocket message
More...
#include <ws_msg.h>
|
class | details::winrt_callback_client |
|
class | details::wspp_callback_client |
|
Represents an outgoing websocket message
void web::websockets::client::websocket_outgoing_message::set_binary_message |
( |
const concurrency::streams::istream & |
istream, |
|
|
size_t |
len |
|
) |
| |
|
inline |
Sets binary data as the message body.
- Parameters
-
istream | casablanca input stream representing the body of the message. |
len | number of bytes to send. |
void web::websockets::client::websocket_outgoing_message::set_binary_message |
( |
const concurrency::streams::istream & |
istream | ) |
|
|
inline |
Sets binary data as the message body.
- Parameters
-
istream | Input stream representing the body of the message. |
Upon sending, the entire stream may be buffered to determine the length.
void web::websockets::client::websocket_outgoing_message::set_utf8_message |
( |
std::string && |
data | ) |
|
|
inline |
Sets a UTF-8 message as the message body.
- Parameters
-
data | UTF-8 String containing body of the message. |
void web::websockets::client::websocket_outgoing_message::set_utf8_message |
( |
const std::string & |
data | ) |
|
|
inline |
Sets a UTF-8 message as the message body.
- Parameters
-
data | UTF-8 String containing body of the message. |
void web::websockets::client::websocket_outgoing_message::set_utf8_message |
( |
const concurrency::streams::istream & |
istream | ) |
|
|
inline |
Sets a UTF-8 message as the message body.
- Parameters
-
istream | casablanca input stream representing the body of the message. |
Upon sending, the entire stream may be buffered to determine the length.
void web::websockets::client::websocket_outgoing_message::set_utf8_message |
( |
const concurrency::streams::istream & |
istream, |
|
|
size_t |
len |
|
) |
| |
|
inline |
Sets a UTF-8 message as the message body.
- Parameters
-
istream | casablanca input stream representing the body of the message. |
len | number of bytes to send. |
The documentation for this class was generated from the following file: