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)
960
TransportType
= transportType;
15 references to TransportType
Microsoft.AspNetCore.Http.Connections (15)
Internal\HttpConnectionContext.cs (8)
675
if (
TransportType
== HttpTransportType.WebSockets)
716
Log.WaitingForTransport(_logger,
TransportType
);
723
Log.TransportComplete(_logger,
TransportType
);
925
if (UseStatefulReconnect &&
TransportType
== HttpTransportType.WebSockets)
958
if (
TransportType
== HttpTransportType.None)
971
else if (
TransportType
!= transportType)
999
Debug.Assert(
TransportType
!= HttpTransportType.None, "Transport has not been initialized yet");
1124
return UseStatefulReconnect == true ||
TransportType
== HttpTransportType.LongPolling;
Internal\HttpConnectionDispatcher.cs (5)
349
if (connection.
TransportType
!= HttpTransportType.WebSockets || connection.UseStatefulReconnect)
627
if (connection.
TransportType
== HttpTransportType.WebSockets)
724
if (connection.
TransportType
!= HttpTransportType.LongPolling)
726
Log.ReceivedDeleteRequestForUnsupportedTransport(_logger, connection.
TransportType
);
774
Log.CannotChangeTransport(_logger, connection.
TransportType
, transportType);
Internal\HttpConnectionManager.cs (2)
95
if (connection.
TransportType
!= HttpTransportType.None)
225
RemoveConnection(connection.ConnectionToken, connection.
TransportType
, status);