Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::HttpWebSocketClientHandshake Struct Reference

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
 

Detailed Description

Small client-side helper that upgrades an HttpAsyncClient connection to a WebSocket transport.


The documentation for this struct was generated from the following file: