protected override void RunWebRequest(QueueManager qm)
        {
            RequestState requestState = new RequestState();

            requestState.OperationType = OperationType;
            requestState.httpMethod    = HTTPMethod.Delete;

            Uri request = BuildRequests.BuildObjectsDeleteUserRequest(
                DeleteUserID,
                this.PubNubInstance,
                this.QueryParams
                );

            base.RunWebRequest(qm, request, requestState, this.PubNubInstance.PNConfig.NonSubscribeTimeout, 0, this);
        }
Esempio n. 2
0
        protected override void RunWebRequest(QueueManager qm)
        {
            RequestState requestState = new RequestState();

            requestState.OperationType = OperationType;
            requestState.httpMethod    = HTTPMethod.Delete;

            Uri request = BuildRequests.BuildObjectsDeleteUserRequest(
                DeleteUserID,
                this.PubNubInstance,
                this.QueryParams
                );

            request = this.PubNubInstance.TokenMgr.AppendTokenToURL(request.OriginalString, DeleteUserID, PNResourceType.PNUsers, OperationType);
            base.RunWebRequest(qm, request, requestState, this.PubNubInstance.PNConfig.NonSubscribeTimeout, 0, this);
        }