#include <icy/http/websocket.h>Inherits:
WebSocketAdapter
Standalone WebSocket class.
| Return | Name | Description |
|---|---|---|
WebSocket | Creates the WebSocket with the given Socket. The Socket should be a TCPSocket or a SSLSocket, depending on the protocol used (ws or wss). | |
http::Request & | request | Returns the HTTP request used during the WebSocket handshake. |
http::Response & | response | Returns the HTTP response received during the WebSocket handshake. |
WebSocket(const net::Socket::Ptr & socket)Creates the WebSocket with the given Socket. The Socket should be a TCPSocket or a SSLSocket, depending on the protocol used (ws or wss).
http::Request & request()Returns the HTTP request used during the WebSocket handshake.
http::Response & response()Returns the HTTP response received during the WebSocket handshake.
http::Request _requesthttp::Response _response| Name | Description |
|---|---|
Vec |
std::vector< WebSocket > Vec()