6 instantiations of ServerSentEventsResult
Microsoft.AspNetCore.Http.Results (6)
Results.cs (3)
994
=> new
ServerSentEventsResult
<string>(values, eventType);
1010
=> new
ServerSentEventsResult
<T>(values, eventType);
1023
=> new
ServerSentEventsResult
<T>(values);
TypedResults.cs (3)
1084
=>
new
(values, eventType);
1100
=>
new
(values, eventType);
1113
=>
new
(values);
15 references to ServerSentEventsResult
Microsoft.AspNetCore.Http.Results (15)
Results.cs (6)
983
/// Produces a <see cref="
ServerSentEventsResult
{TValue}"/> response.
987
/// <returns>The created <see cref="
ServerSentEventsResult
{TValue}"/> for the response.</returns>
997
/// Produces a <see cref="
ServerSentEventsResult
{T}"/> response.
1002
/// <returns>The created <see cref="
ServerSentEventsResult
{T}"/> for the response.</returns>
1013
/// Produces a <see cref="
ServerSentEventsResult
{T}"/> response.
1017
/// <returns>The created <see cref="
ServerSentEventsResult
{T}"/> for the response.</returns>
TypedResults.cs (9)
1073
/// Produces a <see cref="
ServerSentEventsResult
{TValue}"/> response.
1077
/// <returns>The created <see cref="
ServerSentEventsResult
{TValue}"/> for the response.</returns>
1082
public static
ServerSentEventsResult
<string> ServerSentEvents(IAsyncEnumerable<string> values, string? eventType = null)
1087
/// Produces a <see cref="
ServerSentEventsResult
{T}"/> response.
1092
/// <returns>The created <see cref="
ServerSentEventsResult
{T}"/> for the response.</returns>
1098
public static
ServerSentEventsResult
<T> ServerSentEvents<T>(IAsyncEnumerable<T> values, string? eventType = null)
1103
/// Produces a <see cref="
ServerSentEventsResult
{T}"/> response.
1107
/// <returns>The created <see cref="
ServerSentEventsResult
{T}"/> for the response.</returns>
1112
public static
ServerSentEventsResult
<T> ServerSentEvents<T>(IAsyncEnumerable<SseItem<T>> values)