/// <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)); }
public DescribeNamespacesTask(Request.DescribeNamespacesRequest request, UnityAction <AsyncResult <Result.DescribeNamespacesResult> > userCallback) : base(userCallback) { _request = request; }