9 references to ServerSentEvents
Microsoft.AspNetCore.Http.Connections (4)
Internal\HttpConnectionDispatcher.cs (3)
34
Transport = nameof(HttpTransportType.
ServerSentEvents
),
292
if (!await EnsureConnectionStateAsync(connection, context, HttpTransportType.
ServerSentEvents
, supportedTransports, logScope, options))
596
if ((options.Transports & HttpTransportType.
ServerSentEvents
) != 0)
Internal\HttpConnectionsMetrics.cs (1)
84
HttpTransportType.
ServerSentEvents
=> "server_sent_events",
Microsoft.AspNetCore.Http.Connections.Client (4)
HttpConnection.cs (2)
163
if (httpConnectionOptions.Transports == HttpTransportType.
ServerSentEvents
&& OperatingSystem.IsBrowser())
389
if (transportType == HttpTransportType.
ServerSentEvents
&& OperatingSystem.IsBrowser())
Internal\DefaultTransportFactory.cs (2)
49
if ((availableServerTransports & HttpTransportType.
ServerSentEvents
& _requestedTransportType) == HttpTransportType.
ServerSentEvents
)
Microsoft.AspNetCore.Http.Connections.Common (1)
HttpTransports.cs (1)
14
public static readonly HttpTransportType All = HttpTransportType.WebSockets | HttpTransportType.
ServerSentEvents
| HttpTransportType.LongPolling;