Example #1
0
        /// <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);
        }
Example #2
0
        /// <summary>
        /// <see cref="IDisposable.Dispose"/>
        /// </summary>
        public override void Dispose()
        {
            base.Dispose();

            HttpxChunks.UnregisterChunkReceiver(this.client);
        }
Example #3
0
 /// <summary>
 /// <see cref="IDisposable.Dispose"/>
 /// </summary>
 public void Dispose()
 {
     HttpxChunks.UnregisterChunkReceiver(this.client);
 }