コード例 #1
0
 protected virtual void OnOpenConnection(WebSocketHeaders aHeaders)
 {
     if (open != null)
     {
         open(this, aHeaders);
     }
 }
コード例 #2
0
 protected override void OnOpenConnection(WebSocketHeaders aHeaders)
 {
     if (open != null)
     {
         open(this, aHeaders);
     }
 }
コード例 #3
0
 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]);
 }