37 references to HttpConnectionOptions
ClientSample (1)
RawSample.cs (1)
37var connectionOptions = new HttpConnectionOptions
Microsoft.AspNetCore.Http.Connections.Client (5)
HttpConnection.cs (1)
127return new HttpConnectionOptions { Url = url, Transports = transports };
HttpConnectionFactory.cs (1)
80var newOptions = new HttpConnectionOptions
Internal\LongPollingTransport.cs (1)
40_httpConnectionOptions = httpConnectionOptions ?? new();
Internal\ServerSentEventsTransport.cs (1)
43_httpConnectionOptions = httpConnectionOptions ?? new();
Internal\WebSocketsTransport.cs (1)
79_httpConnectionOptions = httpConnectionOptions ?? new HttpConnectionOptions();
Microsoft.AspNetCore.Http.Connections.Tests (5)
HttpConnectionDispatcherTests.cs (5)
3266new HttpConnectionOptions() 3328new HttpConnectionOptions() 3428new HttpConnectionOptions() 3469new HttpConnectionOptions() 3542new HttpConnectionOptions()
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubConnectionTests.cs (1)
78var options = new HttpConnectionOptions { Url = httpEndpoint.Uri, Transports = transportType, DefaultTransferFormat = transferFormat };
HubProtocolVersionTests.cs (1)
107Options.Create(new HttpConnectionOptions
Microsoft.AspNetCore.SignalR.Client.Tests (15)
HttpConnectionFactoryTests.cs (4)
32Options.Create(new HttpConnectionOptions 50Options.Create(new HttpConnectionOptions { DefaultTransferFormat = TransferFormat.Text }), 65Options.Create(new HttpConnectionOptions 106var options = new HttpConnectionOptions();
HttpConnectionTests.cs (7)
33var httpOptions = new HttpConnectionOptions(); 44var httpOptions = new HttpConnectionOptions(); 59var exception = Assert.Throws<ArgumentException>(() => new HttpConnection(new HttpConnectionOptions(), NullLoggerFactory.Instance)); 86var httpOptions = new HttpConnectionOptions(); 120var httpOptions = new HttpConnectionOptions(); 132var httpOptions = new HttpConnectionOptions(); 179var httpOptions = new HttpConnectionOptions
HttpConnectionTests.Helpers.cs (1)
29var httpOptions = new HttpConnectionOptions
HubConnectionBuilderTests.cs (2)
30builder.Services.AddSingleton<IConnectionFactory>(new HttpConnectionFactory(Options.Create(new HttpConnectionOptions()), NullLoggerFactory.Instance)); 64builder.Services.AddSingleton<IConnectionFactory>(new HttpConnectionFactory(Options.Create(new HttpConnectionOptions()), NullLoggerFactory.Instance));
WebSocketsTransportTests.cs (1)
19var options = new HttpConnectionOptions()
Microsoft.AspNetCore.SignalR.Tests (9)
EndToEndTests.cs (7)
66var connection = new HttpConnection(new HttpConnectionOptions { Url = new Uri(url), DefaultTransferFormat = TransferFormat.Text }, LoggerFactory, new TestTransportFactory()); 80var connection = new HttpConnection(new HttpConnectionOptions { Url = new Uri(url), Transports = transportType, DefaultTransferFormat = TransferFormat.Text }, LoggerFactory); 178var httpOptions = new HttpConnectionOptions 228var httpOptions = new HttpConnectionOptions 267var connection = new HttpConnection(new HttpConnectionOptions { Url = new Uri(url), Transports = transportType, DefaultTransferFormat = requestedTransferFormat }, LoggerFactory); 411var options = new HttpConnectionOptions 487new HttpConnectionOptions()
WebSocketsTransportTests.cs (2)
32var httpOptions = new HttpConnectionOptions(); 65var httpOptions = new HttpConnectionOptions();