SseResult.ExecuteAsync(HttpContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the SSE result by streaming frames to the HTTP response.
public System.Threading.Tasks.Task ExecuteAsync(Microsoft.AspNetCore.Http.HttpContext ctx);
abstract member ExecuteAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
override this.ExecuteAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
Public Function ExecuteAsync (ctx As HttpContext) As Task
Parameters
- ctx
- HttpContext
The HTTP context.
Returns
A task representing the asynchronous operation.