Add CopyToLimit, SetContentDisposition, GetUrlWithQuery, GetOriginalPathWithQuery, MakeAbsolute, WithLocationHeader, GetServerRoot, SendRedirect and add closure to MountableServer

This commit is contained in:
2025-10-15 23:18:44 -05:00
parent 1e5167ab8b
commit b889b09287
5 changed files with 144 additions and 36 deletions
+1 -1
View File
@@ -52,6 +52,6 @@ namespace Tesses::CrossLang {
void TStd::RegisterHelpers(GC* gc, TRootEnvironment* env)
{
auto helpers=env->EnsureDictionary(gc,"Helpers");
helpers->DeclareFunction(gc,"CopyToProgress","Copy Stream to another (but with progress event)",{"src","dest","progressCB"},Helpers_CopyToProgress);
helpers->DeclareFunction(gc,"CopyToProgress","Copy Stream to another (but with progress event)",{"src","dest","progressCB","$precision"},Helpers_CopyToProgress);
}
}