Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.38 KB

File metadata and controls

31 lines (21 loc) · 1.38 KB

UPDATE

Request Streaming will be part of .NET 9: dotnet/runtime#91295, dotnet/runtime#91699

dotnet WASM BrowserHttpHandler with support for ReadableStream request bodies

This allows the usage of request streaming when supported. In addition to that it also needs to be opted in via:

request.Options.Set(BrowserHttpHandler.EnableStreamingRequest, true);

For streaming requests over HTTP 1 the following setting is also required:

request.SetBrowserRequestOption("allowHTTP1ForStreamingUpload", true);

Currently this feature Experimental Web Platform features needs to be enabled in chrome://flags/

Code

Resources