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)
717
TransportType
= transportType;
15 references to TransportType
Microsoft.AspNetCore.Http.Connections (15)
Internal\HttpConnectionContext.cs (8)
432
if (
TransportType
== HttpTransportType.WebSockets)
473
Log.WaitingForTransport(_logger,
TransportType
);
480
Log.TransportComplete(_logger,
TransportType
);
682
if (UseStatefulReconnect &&
TransportType
== HttpTransportType.WebSockets)
715
if (
TransportType
== HttpTransportType.None)
728
else if (
TransportType
!= transportType)
756
Debug.Assert(
TransportType
!= HttpTransportType.None, "Transport has not been initialized yet");
881
return UseStatefulReconnect == true ||
TransportType
== HttpTransportType.LongPolling;
Internal\HttpConnectionDispatcher.cs (5)
423
if (connection.
TransportType
!= HttpTransportType.WebSockets || connection.UseStatefulReconnect)
701
if (connection.
TransportType
== HttpTransportType.WebSockets)
793
if (connection.
TransportType
!= HttpTransportType.LongPolling)
795
Log.ReceivedDeleteRequestForUnsupportedTransport(_logger, connection.
TransportType
);
838
Log.CannotChangeTransport(_logger, connection.
TransportType
, transportType);
Internal\HttpConnectionManager.cs (2)
95
if (connection.
TransportType
!= HttpTransportType.None)
225
RemoveConnection(connection.ConnectionToken, connection.
TransportType
, status);