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)
1060
TransportType
= transportType;
17 references to TransportType
Microsoft.AspNetCore.Http.Connections (17)
Internal\HttpConnectionContext.cs (8)
775
if (
TransportType
== HttpTransportType.WebSockets)
816
Log.WaitingForTransport(_logger,
TransportType
);
823
Log.TransportComplete(_logger,
TransportType
);
1025
if (UseStatefulReconnect &&
TransportType
== HttpTransportType.WebSockets)
1058
if (
TransportType
== HttpTransportType.None)
1071
else if (
TransportType
!= transportType)
1099
Debug.Assert(
TransportType
!= HttpTransportType.None, "Transport has not been initialized yet");
1224
return UseStatefulReconnect == true ||
TransportType
== HttpTransportType.LongPolling;
Internal\HttpConnectionDispatcher.cs (7)
388
if (connection.
TransportType
!= HttpTransportType.WebSockets || connection.UseStatefulReconnect)
689
if (connection.
TransportType
is HttpTransportType.None)
697
if (connection.
TransportType
== HttpTransportType.WebSockets)
794
if (connection.
TransportType
!= HttpTransportType.LongPolling)
796
Log.ReceivedDeleteRequestForUnsupportedTransport(_logger, connection.
TransportType
);
829
&& (connection.User is null || connection.
TransportType
is HttpTransportType.None)
851
Log.CannotChangeTransport(_logger, connection.
TransportType
, transportType);
Internal\HttpConnectionManager.cs (2)
184
if (connection.
TransportType
!= HttpTransportType.None)
314
RemoveConnection(connection.ConnectionToken, connection.
TransportType
, status);