Beispiel #1
0
        protected override void RunWebRequest(QueueManager qm)
        {
            RequestState requestState = new RequestState();

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

            Uri request = BuildRequests.BuildObjectsDeleteSpaceRequest(
                DeleteSpaceID,
                this.PubNubInstance,
                this.QueryParams
                );

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

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

            Uri request = BuildRequests.BuildObjectsDeleteSpaceRequest(
                DeleteSpaceID,
                this.PubNubInstance,
                this.QueryParams
                );

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