Update reader.

This commit is contained in:
Bruce
2026-04-06 13:09:20 +08:00
parent b562d5b5ba
commit 64f3958d7f
55 changed files with 16056 additions and 9780 deletions
+9 -2
View File
@@ -297,11 +297,18 @@ namespace DataUtils
return new HttpResponse (res);
}
}
public void SendAsync (string sBody, string encoding, object pfResolve)
public void SendAsync (string sBody, string encoding, object pfResolve, object pfReject)
{
System.Threading.ThreadPool.QueueUserWorkItem (delegate
{
JsUtils.Call (pfResolve, Send (sBody, encoding));
try
{
JsUtils.Call (pfResolve, Send (sBody, encoding));
}
catch (Exception ex)
{
JsUtils.Call (pfReject, new _I_Exception (ex));
}
});
}
public void Dispose () { }