Exemplo n.º 1
0
        protected override void RunWebRequest(QueueManager qm)
        {
            RequestState requestState = new RequestState();

            requestState.OperationType = OperationType;

            string[] includeString = (GetUUIDMetadataInclude == null) ? new string[] {} : GetUUIDMetadataInclude.Select(a => a.GetDescription().ToString()).ToArray();

            Uri request = BuildRequests.BuildObjectsGetUUIDMetadataRequest(
                GetUUIDMetadataID,
                string.Join(",", includeString),
                this.PubNubInstance,
                this.QueryParams
                );

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