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