public void Shutdown(ShutdownTypes type) { this.ShutdownType = type; switch (this.ShutdownType) { case ShutdownTypes.Gentle: this.newFrameSignal.Set(); break; case ShutdownTypes.Immediate: this.conn.connector.Stream.Dispose(); break; } }
public override void Shutdown(ShutdownTypes type) { base.Shutdown(type); if (this.requestHandler != null) { this.requestHandler.Shutdown(type); } switch (this.ShutdownType) { case ShutdownTypes.Immediate: this.connector.Dispose(); break; } }
public void Shutdown(ShutdownTypes type) { this.ShutdownType = type; }
public override void Shutdown(ShutdownTypes type) { base.Shutdown(type); XHR_Abort(this.NativeId); }