Small client-side helper that upgrades an HttpAsyncClient connection to a WebSocket transport.
More...
#include <HttpWebSocket.h>
Public Member Functions | |
| Result | connect (HttpAsyncClient &client, AsyncEventLoop &loop, StringSpan url, StringSpan clientKey, HttpWebSocketTransportView &transport) |
Public Attributes | |
| Function< void(HttpWebSocketTransportView &)> | onConnected |
| Function< void(Result)> | onError |
Small client-side helper that upgrades an HttpAsyncClient connection to a WebSocket transport.