Implemented interface member:
property
TransportType
Microsoft.AspNetCore.Http.Connections.Features.IHttpTransportFeature.TransportType
1 write to TransportType
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
590TransportType = transportType;
16 references to TransportType
Microsoft.AspNetCore.Http.Connections (16)
Internal\HttpConnectionContext.cs (9)
280if (TransportType == HttpTransportType.LongPolling && User?.Identity is WindowsIdentity) 305if (TransportType == HttpTransportType.WebSockets) 346Log.WaitingForTransport(_logger, TransportType); 353Log.TransportComplete(_logger, TransportType); 555if (UseStatefulReconnect && TransportType == HttpTransportType.WebSockets) 588if (TransportType == HttpTransportType.None) 601else if (TransportType != transportType) 629Debug.Assert(TransportType != HttpTransportType.None, "Transport has not been initialized yet"); 754return UseStatefulReconnect == true || TransportType == HttpTransportType.LongPolling;
Internal\HttpConnectionDispatcher.cs (5)
199if (connection.TransportType != HttpTransportType.WebSockets || connection.UseStatefulReconnect) 460if (connection.TransportType == HttpTransportType.WebSockets) 552if (connection.TransportType != HttpTransportType.LongPolling) 554Log.ReceivedDeleteRequestForUnsupportedTransport(_logger, connection.TransportType); 597Log.CannotChangeTransport(_logger, connection.TransportType, transportType);
Internal\HttpConnectionManager.cs (2)
95if (connection.TransportType != HttpTransportType.None) 225RemoveConnection(connection.ConnectionToken, connection.TransportType, status);