Implemented interface member:
property
TransportType
Microsoft.AspNetCore.Http.Connections.Features.IHttpTransportFeature.TransportType
39 writes to TransportType
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
590TransportType = transportType;
Microsoft.AspNetCore.Http.Connections.Tests (38)
HttpConnectionDispatcherTests.cs (38)
210connection.TransportType = transportType; 376connection.TransportType = HttpTransportType.WebSockets; 414connection.TransportType = HttpTransportType.LongPolling; 515connection.TransportType = HttpTransportType.LongPolling; 580connection.TransportType = transportType; 630connection.TransportType = transportType; 715connection.TransportType = HttpTransportType.LongPolling; 749connection.TransportType = HttpTransportType.LongPolling; 891connection.TransportType = transportType; 1063connection.TransportType = HttpTransportType.LongPolling; 1186connection.TransportType = HttpTransportType.LongPolling; 1283connection.TransportType = HttpTransportType.LongPolling; 1406connection.TransportType = HttpTransportType.WebSockets; 1481connection.TransportType = HttpTransportType.LongPolling; 1546connection.TransportType = HttpTransportType.LongPolling; 1641connection.TransportType = HttpTransportType.LongPolling; 1710connection.TransportType = HttpTransportType.LongPolling; 1752connection.TransportType = HttpTransportType.LongPolling; 1831connection.TransportType = HttpTransportType.LongPolling; 1883connection.TransportType = HttpTransportType.LongPolling; 1938connection.TransportType = transportType; 1983connection.TransportType = HttpTransportType.LongPolling; 2015connection.TransportType = transportType; 2056connection.TransportType = HttpTransportType.LongPolling; 2109connection.TransportType = HttpTransportType.LongPolling; 2162connection.TransportType = HttpTransportType.LongPolling; 2214connection.TransportType = transportType; 2380connection.TransportType = HttpTransportType.WebSockets; 2550connection.TransportType = HttpTransportType.LongPolling; 2612connection.TransportType = HttpTransportType.LongPolling; 2669connection.TransportType = HttpTransportType.LongPolling; 2728connection.TransportType = HttpTransportType.LongPolling; 2768connection.TransportType = HttpTransportType.LongPolling; 2957connection.TransportType = HttpTransportType.LongPolling; 3008connection.TransportType = HttpTransportType.LongPolling; 3063connection.TransportType = HttpTransportType.LongPolling; 3148connection.TransportType = HttpTransportType.LongPolling; 3576connection.TransportType = HttpTransportType.LongPolling;
17 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);
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionManagerTests.cs (1)
193connectionManager.RemoveConnection(connection.ConnectionToken, connection.TransportType, HttpConnectionStopStatus.Timeout);