protected override void NewHeader(object sender, TextArgs args) { if (!args.Message.Contains("HTTP/1.1 101")) { Close("NewHeader"); return; } WebData.handshakeComplete = true; base.RaiseConnection(); }
void SslSocket_Closed(object sender, TextArgs e) { Close(e.Message, false); }
public JsonArgs(TextArgs vJson, Connection vContext) : base(vContext) { Json = vJson; }
void Retry_TimerEvent(object sender, TextArgs e) { TimerEvent(sender, e); }
protected virtual void NewHeader(object sender, TextArgs args) { }
private void Data_Header(object sender, TextArgs args) { this.NewHeader(sender, args); }
private void Raw_Closed(object sender, TextArgs e) { CloseArgs cA = new CloseArgs(e.Message, true); Raise_Closed(cA); }