/// <summary> /// ネームスペースを新規作成<br /> /// </summary> /// /// <returns>IEnumerator</returns> /// <param name="callback">コールバックハンドラ</param> /// <param name="request">リクエストパラメータ</param> public IEnumerator CreateNamespace( Request.CreateNamespaceRequest request, UnityAction <AsyncResult <Result.CreateNamespaceResult> > callback ) { var task = new CreateNamespaceTask(request, callback); return(Gs2RestSession.Execute(task)); }
/// <summary> /// ネームスペースを新規作成<br /> /// </summary> /// /// <returns>IEnumerator</returns> /// <param name="callback">コールバックハンドラ</param> /// <param name="request">リクエストパラメータ</param> public IEnumerator CreateNamespace( Request.CreateNamespaceRequest request, UnityAction <AsyncResult <Result.CreateNamespaceResult> > callback ) { var task = new CreateNamespaceTask(request, callback); if (_certificateHandler != null) { task.UnityWebRequest.certificateHandler = _certificateHandler; } return(Gs2RestSession.Execute(task)); }
public CreateNamespaceTask(Request.CreateNamespaceRequest request, UnityAction <AsyncResult <Result.CreateNamespaceResult> > userCallback) : base(userCallback) { _request = request; }