23 writes to Transports
JwtClientSample (1)
Microsoft.AspNetCore.Http.Connections.Client (3)
Microsoft.AspNetCore.Http.Connections.Tests (4)
Microsoft.AspNetCore.SignalR.Client (1)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (3)
Microsoft.AspNetCore.SignalR.Client.Tests (5)
Microsoft.AspNetCore.SignalR.Tests (6)
EndToEndTests.cs (6)
80var connection = new HttpConnection(new HttpConnectionOptions { Url = new Uri(url), Transports = transportType, DefaultTransferFormat = TransferFormat.Text }, LoggerFactory);
181Transports = HttpTransportType.WebSockets,
231Transports = transportType,
267var connection = new HttpConnection(new HttpConnectionOptions { Url = new Uri(url), Transports = transportType, DefaultTransferFormat = requestedTransferFormat }, LoggerFactory);
414Transports = HttpTransportType.WebSockets,
491Transports = HttpTransportType.ServerSentEvents,
12 references to Transports
Microsoft.AspNetCore.Http.Connections.Client (8)
HttpConnection.cs (7)
151if (!httpConnectionOptions.SkipNegotiation || httpConnectionOptions.Transports != HttpTransportType.WebSockets)
156if (httpConnectionOptions.Transports == HttpTransportType.ServerSentEvents && OperatingSystem.IsBrowser())
161_transportFactory = new DefaultTransportFactory(httpConnectionOptions.Transports, _loggerFactory, _httpClient, httpConnectionOptions, GetAccessTokenAsync);
314if (_httpConnectionOptions.Transports == HttpTransportType.WebSockets)
316Log.StartingTransport(_logger, _httpConnectionOptions.Transports, uri);
317await StartTransport(uri, _httpConnectionOptions.Transports, transferFormat, cancellationToken, useStatefulReconnect: false).ConfigureAwait(false);
390if ((transportType & _httpConnectionOptions.Transports) == 0)
Microsoft.AspNetCore.SignalR.Client.Tests (4)