TsgcWebSocketClient | WebSocket HandShake
The WebSocket protocol uses an HTTP HandShake to upgrade from the HTTP protocol to the WebSocket protocol. This handshake is handled internally by the TsgcWebSocket Client component, but you can add your own custom HTTP headers if the server requires additional HTTP header information.
Example: if you need to add this HTTP Header "Client: sgcWebSockets"
void OnHandshake(TsgcWSConnection Connection, ref string Headers)
{
Headers = Headers + Environment.NewLine + "Client: sgcWebSockets";
}