@@ -90,7 +90,7 @@ public static void ClearDefaultHeaders()
90
90
/// <param name="callback">A callback function that is executed when the request is finished.</param>
91
91
public static void Request ( RequestHelper options , Action < RequestException , ResponseHelper > callback )
92
92
{
93
- StaticCoroutine . StartCoroutine ( HttpBase . DefaultUnityWebRequest ( options , callback ) ) ;
93
+ StaticCoroutine . StartRequest ( options . EditorCoroutine , HttpBase . DefaultUnityWebRequest ( options , callback ) ) ;
94
94
}
95
95
96
96
/// <summary>
@@ -101,7 +101,7 @@ public static void Request(RequestHelper options, Action<RequestException, Respo
101
101
/// <typeparam name="T">The element type of the response.</typeparam>
102
102
public static void Request < T > ( RequestHelper options , Action < RequestException , ResponseHelper , T > callback )
103
103
{
104
- StaticCoroutine . StartCoroutine ( HttpBase . DefaultUnityWebRequest < T > ( options , callback ) ) ;
104
+ StaticCoroutine . StartRequest ( options . EditorCoroutine , HttpBase . DefaultUnityWebRequest < T > ( options , callback ) ) ;
105
105
}
106
106
107
107
/// <summary>
@@ -168,7 +168,7 @@ public static void GetArray<T>(string url, Action<RequestException, ResponseHelp
168
168
public static void GetArray < T > ( RequestHelper options , Action < RequestException , ResponseHelper , T [ ] > callback )
169
169
{
170
170
options . Method = UnityWebRequest . kHttpVerbGET ;
171
- StaticCoroutine . StartCoroutine ( HttpBase . DefaultUnityWebRequest < T > ( options , callback ) ) ;
171
+ StaticCoroutine . StartRequest ( options . EditorCoroutine , HttpBase . DefaultUnityWebRequest < T > ( options , callback ) ) ;
172
172
}
173
173
174
174
/// <summary>
@@ -273,7 +273,7 @@ public static void PostArray<T>(string url, string bodyString, Action<RequestExc
273
273
public static void PostArray < T > ( RequestHelper options , Action < RequestException , ResponseHelper , T [ ] > callback )
274
274
{
275
275
options . Method = UnityWebRequest . kHttpVerbPOST ;
276
- StaticCoroutine . StartCoroutine ( HttpBase . DefaultUnityWebRequest ( options , callback ) ) ;
276
+ StaticCoroutine . StartRequest ( options . EditorCoroutine , HttpBase . DefaultUnityWebRequest ( options , callback ) ) ;
277
277
}
278
278
279
279
/// <summary>
0 commit comments