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)
590
TransportType
= transportType;
16 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);