修改网络工具包

增加协程调用方法
This commit is contained in:
MuHua-123
2025-03-22 14:48:18 +08:00
parent 94e29db2cb
commit e373ec09e5
13 changed files with 110 additions and 14 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ namespace MuHua {
public Action<string> OnCallback;
public override string Url => url;
public override AsyncWebRequestType RequestType => AsyncWebRequestType.GET;
public override WebRequestType RequestType => WebRequestType.GET;
/// <summary> Web Get请求数据 </summary>
public DataRequestGet(string url, Action<string> OnCallback = null) {