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)
590
TransportType
= transportType;
Microsoft.AspNetCore.Http.Connections.Tests (38)
HttpConnectionDispatcherTests.cs (38)
210
connection.
TransportType
= transportType;
376
connection.
TransportType
= HttpTransportType.WebSockets;
414
connection.
TransportType
= HttpTransportType.LongPolling;
515
connection.
TransportType
= HttpTransportType.LongPolling;
580
connection.
TransportType
= transportType;
630
connection.
TransportType
= transportType;
715
connection.
TransportType
= HttpTransportType.LongPolling;
749
connection.
TransportType
= HttpTransportType.LongPolling;
891
connection.
TransportType
= transportType;
1063
connection.
TransportType
= HttpTransportType.LongPolling;
1186
connection.
TransportType
= HttpTransportType.LongPolling;
1283
connection.
TransportType
= HttpTransportType.LongPolling;
1406
connection.
TransportType
= HttpTransportType.WebSockets;
1481
connection.
TransportType
= HttpTransportType.LongPolling;
1546
connection.
TransportType
= HttpTransportType.LongPolling;
1641
connection.
TransportType
= HttpTransportType.LongPolling;
1710
connection.
TransportType
= HttpTransportType.LongPolling;
1752
connection.
TransportType
= HttpTransportType.LongPolling;
1831
connection.
TransportType
= HttpTransportType.LongPolling;
1883
connection.
TransportType
= HttpTransportType.LongPolling;
1938
connection.
TransportType
= transportType;
1983
connection.
TransportType
= HttpTransportType.LongPolling;
2015
connection.
TransportType
= transportType;
2056
connection.
TransportType
= HttpTransportType.LongPolling;
2109
connection.
TransportType
= HttpTransportType.LongPolling;
2162
connection.
TransportType
= HttpTransportType.LongPolling;
2214
connection.
TransportType
= transportType;
2380
connection.
TransportType
= HttpTransportType.WebSockets;
2550
connection.
TransportType
= HttpTransportType.LongPolling;
2612
connection.
TransportType
= HttpTransportType.LongPolling;
2669
connection.
TransportType
= HttpTransportType.LongPolling;
2728
connection.
TransportType
= HttpTransportType.LongPolling;
2768
connection.
TransportType
= HttpTransportType.LongPolling;
2957
connection.
TransportType
= HttpTransportType.LongPolling;
3008
connection.
TransportType
= HttpTransportType.LongPolling;
3063
connection.
TransportType
= HttpTransportType.LongPolling;
3148
connection.
TransportType
= HttpTransportType.LongPolling;
3576
connection.
TransportType
= HttpTransportType.LongPolling;
17 references to TransportType
Microsoft.AspNetCore.Http.Connections (16)
Internal\HttpConnectionContext.cs (9)
280
if (
TransportType
== HttpTransportType.LongPolling && User?.Identity is WindowsIdentity)
305
if (
TransportType
== HttpTransportType.WebSockets)
346
Log.WaitingForTransport(_logger,
TransportType
);
353
Log.TransportComplete(_logger,
TransportType
);
555
if (UseStatefulReconnect &&
TransportType
== HttpTransportType.WebSockets)
588
if (
TransportType
== HttpTransportType.None)
601
else if (
TransportType
!= transportType)
629
Debug.Assert(
TransportType
!= HttpTransportType.None, "Transport has not been initialized yet");
754
return UseStatefulReconnect == true ||
TransportType
== HttpTransportType.LongPolling;
Internal\HttpConnectionDispatcher.cs (5)
199
if (connection.
TransportType
!= HttpTransportType.WebSockets || connection.UseStatefulReconnect)
460
if (connection.
TransportType
== HttpTransportType.WebSockets)
552
if (connection.
TransportType
!= HttpTransportType.LongPolling)
554
Log.ReceivedDeleteRequestForUnsupportedTransport(_logger, connection.
TransportType
);
597
Log.CannotChangeTransport(_logger, connection.
TransportType
, transportType);
Internal\HttpConnectionManager.cs (2)
95
if (connection.
TransportType
!= HttpTransportType.None)
225
RemoveConnection(connection.ConnectionToken, connection.
TransportType
, status);
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionManagerTests.cs (1)
193
connectionManager.RemoveConnection(connection.ConnectionToken, connection.
TransportType
, HttpConnectionStopStatus.Timeout);