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

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