added reading from request

This commit is contained in:
Michael Nolan
2022-04-24 13:56:06 -05:00
parent ccdcf0b8f6
commit 7886cc120c
4 changed files with 82 additions and 5 deletions
@@ -52,7 +52,7 @@ namespace Tesses.WebServer
return true;
}
static string BodyAsString(this ServerContext ctx)
private static string BodyAsString(this ServerContext ctx)
{
@@ -64,6 +64,7 @@ namespace Tesses.WebServer
return str;
}
public static async Task SendStreamAsync(this ServerContext ctx, Stream strm, string contentType = "application/octet-stream")
{