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