/// <summary> /// <see cref="IDisposable.Dispose"/> /// </summary> public void Dispose() { HttpxChunks.UnregisterChunkReceiver(this.client); this.client.UnregisterIqSetHandler("req", HttpxClient.Namespace, this.ReqReceived, false); this.client.UnregisterIqGetHandler("req", HttpxClient.Namespace, this.ReqReceived, false); this.client.UnregisterMessageHandler("cancel", HttpxClient.Namespace, this.CancelReceived, false); }
/// <summary> /// <see cref="IDisposable.Dispose"/> /// </summary> public override void Dispose() { base.Dispose(); HttpxChunks.UnregisterChunkReceiver(this.client); }
/// <summary> /// <see cref="IDisposable.Dispose"/> /// </summary> public void Dispose() { HttpxChunks.UnregisterChunkReceiver(this.client); }