A simple WebSocket client. More...
#include <WsClient.hpp>
Public Member Functions | |
WsClient (std::string host_, unsigned short port_=80) | |
Create a WebSocket client instance. More... | |
WsClient (const WsClient &)=default | |
Create an HTTPS client by copying the supplied instance. More... | |
WsClient (WsClient &&)=default | |
Create an HTTPS client by moving the contents of the supplied instance. More... | |
WsClient & | operator= (const WsClient &)=default |
Assign an HTTPS client by copying the supplied instance. More... | |
WsClient & | operator= (WsClient &&)=default |
Assign an HTTPS client by moving the contents of the supplied instance. More... | |
A simple WebSocket client.
This is currently just used for testing. Future development will extend this class into a full WebSocket client.
|
inlineexplicit |
Create a WebSocket client instance.
host_ | the host name to connect to |
port_ | the port number to connect to |
Create an HTTPS client by moving the contents of the supplied instance.
Assign an HTTPS client by copying the supplied instance.
Assign an HTTPS client by moving the contents of the supplied instance.