@@ -90,7 +90,7 @@ public static void ClearDefaultHeaders()
9090 /// <param name="callback">A callback function that is executed when the request is finished.</param>
9191 public static void Request ( RequestHelper options , Action < RequestException , ResponseHelper > callback )
9292 {
93- StaticCoroutine . StartCoroutine ( HttpBase . DefaultUnityWebRequest ( options , callback ) ) ;
93+ StaticCoroutine . Start ( options . EditorCoroutine , HttpBase . DefaultUnityWebRequest ( options , callback ) ) ;
9494 }
9595
9696 /// <summary>
@@ -101,7 +101,7 @@ public static void Request(RequestHelper options, Action<RequestException, Respo
101101 /// <typeparam name="T">The element type of the response.</typeparam>
102102 public static void Request < T > ( RequestHelper options , Action < RequestException , ResponseHelper , T > callback )
103103 {
104- StaticCoroutine . StartCoroutine ( HttpBase . DefaultUnityWebRequest < T > ( options , callback ) ) ;
104+ StaticCoroutine . Start ( options . EditorCoroutine , HttpBase . DefaultUnityWebRequest < T > ( options , callback ) ) ;
105105 }
106106
107107 /// <summary>
@@ -168,7 +168,7 @@ public static void GetArray<T>(string url, Action<RequestException, ResponseHelp
168168 public static void GetArray < T > ( RequestHelper options , Action < RequestException , ResponseHelper , T [ ] > callback )
169169 {
170170 options . Method = UnityWebRequest . kHttpVerbGET ;
171- StaticCoroutine . StartCoroutine ( HttpBase . DefaultUnityWebRequest < T > ( options , callback ) ) ;
171+ StaticCoroutine . Start ( options . EditorCoroutine , HttpBase . DefaultUnityWebRequest < T > ( options , callback ) ) ;
172172 }
173173
174174 /// <summary>
@@ -273,7 +273,7 @@ public static void PostArray<T>(string url, string bodyString, Action<RequestExc
273273 public static void PostArray < T > ( RequestHelper options , Action < RequestException , ResponseHelper , T [ ] > callback )
274274 {
275275 options . Method = UnityWebRequest . kHttpVerbPOST ;
276- StaticCoroutine . StartCoroutine ( HttpBase . DefaultUnityWebRequest ( options , callback ) ) ;
276+ StaticCoroutine . Start ( options . EditorCoroutine , HttpBase . DefaultUnityWebRequest ( options , callback ) ) ;
277277 }
278278
279279 /// <summary>
0 commit comments