protected virtual void OnOpenConnection(WebSocketHeaders aHeaders) { if (open != null) { open(this, aHeaders); } }
protected override void OnOpenConnection(WebSocketHeaders aHeaders) { if (open != null) { open(this, aHeaders); } }
private void Open(WebSocketTokenClient sender, WebSocketHeaders e) { gb_send.Enabled = true; button3.Enabled = false; tb_URL.Enabled = false; button4.Enabled = true; listBox1.Items.Add("Connection opened"); listBox1.Items.Add("JWSSESSIONID = " + e.GetCookies[0].Split('=')[1].Split(';')[0]); }