Web/ForgeTrust.Runnable.Web.RazorWire/Bridge/RazorWireStreamResult.cs
RazorWireStreamResult
Type
RazorWireStreamResult
An that renders and streams Turbo Stream actions to the response.
Method
ExecuteResultAsync(ActionContext)
Streams rendered Turbo Stream HTML for the configured actions to the HTTP response.
Generates and stores antiforgery tokens before sending any response data, sets the response Content-Type to "text/vnd.turbo-stream.html", and streams each action's rendered HTML to the response using UTF-8 encoding. Rendering of actions is performed asynchronously in parallel.
Method
CreateViewContext(ActionContext)
Creates a configured for rendering the stream actions, optionally inheriting ViewData and TempData from the associated controller.
Method
RenderAsync(ViewContext, CancellationToken)
Produces the stored raw HTML as the rendered output for the given view context.
Method
RenderAsync(ViewContext)
Performs no rendering and completes immediately.