6 instantiations of ServerSentEventsResult
Microsoft.AspNetCore.Http.Results (6)
Results.cs (3)
996
=> new
ServerSentEventsResult
<string>(values, eventType);
1012
=> new
ServerSentEventsResult
<T>(values, eventType);
1025
=> new
ServerSentEventsResult
<T>(values);
TypedResults.cs (3)
1086
=>
new
(values, eventType);
1102
=>
new
(values, eventType);
1115
=>
new
(values);
15 references to ServerSentEventsResult
Microsoft.AspNetCore.Http.Results (15)
Results.cs (6)
985
/// Produces a <see cref="
ServerSentEventsResult
{TValue}"/> response.
989
/// <returns>The created <see cref="
ServerSentEventsResult
{TValue}"/> for the response.</returns>
999
/// Produces a <see cref="
ServerSentEventsResult
{T}"/> response.
1004
/// <returns>The created <see cref="
ServerSentEventsResult
{T}"/> for the response.</returns>
1015
/// Produces a <see cref="
ServerSentEventsResult
{T}"/> response.
1019
/// <returns>The created <see cref="
ServerSentEventsResult
{T}"/> for the response.</returns>
TypedResults.cs (9)
1075
/// Produces a <see cref="
ServerSentEventsResult
{TValue}"/> response.
1079
/// <returns>The created <see cref="
ServerSentEventsResult
{TValue}"/> for the response.</returns>
1084
public static
ServerSentEventsResult
<string> ServerSentEvents(IAsyncEnumerable<string> values, string? eventType = null)
1089
/// Produces a <see cref="
ServerSentEventsResult
{T}"/> response.
1094
/// <returns>The created <see cref="
ServerSentEventsResult
{T}"/> for the response.</returns>
1100
public static
ServerSentEventsResult
<T> ServerSentEvents<T>(IAsyncEnumerable<T> values, string? eventType = null)
1105
/// Produces a <see cref="
ServerSentEventsResult
{T}"/> response.
1109
/// <returns>The created <see cref="
ServerSentEventsResult
{T}"/> for the response.</returns>
1114
public static
ServerSentEventsResult
<T> ServerSentEvents<T>(IAsyncEnumerable<SseItem<T>> values)