示例#1
0
        /// <summary>
        ///  ネームスペースを削除<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator DeleteNamespace(
            Request.DeleteNamespaceRequest request,
            UnityAction <AsyncResult <Result.DeleteNamespaceResult> > callback
            )
        {
            var task = new DeleteNamespaceTask(request, callback);

            return(Gs2WebSocketSession.Execute(task));
        }
示例#2
0
        /// <summary>
        ///  ネームスペースを削除<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator DeleteNamespace(
            Request.DeleteNamespaceRequest request,
            UnityAction <AsyncResult <Result.DeleteNamespaceResult> > callback
            )
        {
            var task = new DeleteNamespaceTask(request, callback);

            if (_certificateHandler != null)
            {
                task.UnityWebRequest.certificateHandler = _certificateHandler;
            }
            return(Gs2RestSession.Execute(task));
        }
示例#3
0
 public DeleteNamespaceTask(Request.DeleteNamespaceRequest request, UnityAction <AsyncResult <Result.DeleteNamespaceResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }