protected override void RunWebRequest(QueueManager qm) { RequestState requestState = new RequestState(); requestState.OperationType = OperationType; string[] includeString = (GetMembersInclude == null) ? new string[] {} : GetMembersInclude.Select(a => a.GetDescription().ToString()).ToArray(); List <string> sortFields = SortBy ?? new List <string>(); Uri request = BuildRequests.BuildObjectsGetMembersRequest( GetMembersSpaceID, GetMembersLimit, GetMembersStart, GetMembersEnd, GetMembersCount, string.Join(",", includeString), this.PubNubInstance, this.QueryParams, GetMembersFilter, string.Join(",", sortFields) ); request = this.PubNubInstance.TokenMgr.AppendTokenToURL(request.OriginalString, GetMembersSpaceID, PNResourceType.PNSpaces, OperationType); base.RunWebRequest(qm, request, requestState, this.PubNubInstance.PNConfig.NonSubscribeTimeout, 0, this); }
protected override void RunWebRequest(QueueManager qm) { RequestState requestState = new RequestState(); requestState.OperationType = OperationType; string[] includeString = (GetMembersInclude == null) ? new string[] {} : GetMembersInclude.Select(a => a.GetDescription().ToString()).ToArray(); Uri request = BuildRequests.BuildObjectsGetMembersRequest( GetMembersSpaceID, GetMembersLimit, GetMembersStart, GetMembersEnd, GetMembersCount, string.Join(",", includeString), this.PubNubInstance, this.QueryParams ); base.RunWebRequest(qm, request, requestState, this.PubNubInstance.PNConfig.NonSubscribeTimeout, 0, this); }