コード例 #1
0
        /// <summary>
        ///  ネームスペースの一覧を取得<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator DescribeNamespaces(
            Request.DescribeNamespacesRequest request,
            UnityAction <AsyncResult <Result.DescribeNamespacesResult> > callback
            )
        {
            var task = new DescribeNamespacesTask(request, callback);

            if (_certificateHandler != null)
            {
                task.UnityWebRequest.certificateHandler = _certificateHandler;
            }
            return(Gs2RestSession.Execute(task));
        }
コード例 #2
0
 public DescribeNamespacesTask(Request.DescribeNamespacesRequest request, UnityAction <AsyncResult <Result.DescribeNamespacesResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }