Esempio n. 1
0
        /// <summary>
        ///  アウトプットの一覧を取得<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator DescribeOutputs(
            Request.DescribeOutputsRequest request,
            UnityAction <AsyncResult <Result.DescribeOutputsResult> > callback
            )
        {
            var task = new DescribeOutputsTask(request, callback);

            return(Gs2RestSession.Execute(task));
        }
Esempio n. 2
0
        /// <summary>
        ///  アウトプットの一覧を取得<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator DescribeOutputs(
            Request.DescribeOutputsRequest request,
            UnityAction <AsyncResult <Result.DescribeOutputsResult> > callback
            )
        {
            var task = new DescribeOutputsTask(request, callback);

            if (_certificateHandler != null)
            {
                task.UnityWebRequest.certificateHandler = _certificateHandler;
            }
            return(Gs2RestSession.Execute(task));
        }
Esempio n. 3
0
 public DescribeOutputsTask(Request.DescribeOutputsRequest request, UnityAction <AsyncResult <Result.DescribeOutputsResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }