4 writes to AvailableTransports
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
421response.AvailableTransports = new List<AvailableTransport>();
Microsoft.AspNetCore.Http.Connections.Common (1)
NegotiateProtocol.cs (1)
261AvailableTransports = availableTransports,
Microsoft.AspNetCore.Http.Connections.Tests (1)
NegotiateProtocolTests.cs (1)
107AvailableTransports = new List<AvailableTransport>
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
NegotiateProtocolBenchmark.cs (1)
28AvailableTransports = new List<AvailableTransport>
10 references to AvailableTransports
Microsoft.AspNetCore.Http.Connections (3)
Internal\HttpConnectionDispatcher.cs (3)
426response.AvailableTransports.Add(_webSocketAvailableTransport); 431response.AvailableTransports.Add(_serverSentEventsAvailableTransport); 436response.AvailableTransports.Add(_longPollingAvailableTransport);
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
365foreach (var transport in negotiationResponse.AvailableTransports!)
Microsoft.AspNetCore.Http.Connections.Common (3)
NegotiateProtocol.cs (3)
97if (response.AvailableTransports != null) 99var transportCount = response.AvailableTransports.Count; 102var availableTransport = response.AvailableTransports[i];
Microsoft.AspNetCore.Http.Connections.Tests (3)
NegotiateProtocolTests.cs (3)
35Assert.Equal(availableTransports?.Length, response.AvailableTransports?.Count); 41if (response.AvailableTransports != null) 43var responseTransports = response.AvailableTransports.Select(t => t.Transport).ToList();