added reading from request
This commit is contained in:
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user