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