69 references to StartAsync
ClientSample (1)
RawSample.cs (1)
47
await connection.
StartAsync
();
Microsoft.AspNetCore.Http.Connections.Client (2)
HttpConnectionFactory.cs (1)
66
await connection.
StartAsync
(cancellationToken).ConfigureAwait(false);
HttpConnectionOptions.cs (1)
248
/// Gets or sets the default <see cref="TransferFormat" /> to use if <see cref="HttpConnection.
StartAsync
(CancellationToken)"/>
Microsoft.AspNetCore.Http.Connections.Tests (5)
HttpConnectionDispatcherTests.cs (5)
3276
await connection.
StartAsync
();
3338
await connection.
StartAsync
();
3438
await connection.
StartAsync
();
3477
await connection.
StartAsync
();
3551
await connection.
StartAsync
();
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
HubConnectionTests.cs (1)
82
await connection.
StartAsync
().ConfigureAwait(false);
Microsoft.AspNetCore.SignalR.Client.Tests (49)
HttpConnectionTests.ConnectionLifecycle.cs (20)
31
await connection.
StartAsync
().DefaultTimeout();
32
await connection.
StartAsync
().DefaultTimeout();
46
var firstStart = connection.
StartAsync
();
48
var secondStart = connection.
StartAsync
();
66
await connection.
StartAsync
().DefaultTimeout();
70
async () => await connection.
StartAsync
()).DefaultTimeout();
124
await connection.
StartAsync
().DefaultTimeout();
157
var ex = await Assert.ThrowsAsync<AggregateException>(() => connection.
StartAsync
()).DefaultTimeout();
201
var startTask = connection.
StartAsync
();
233
await connection.
StartAsync
().DefaultTimeout();
269
await connection.
StartAsync
().DefaultTimeout();
314
await connection.
StartAsync
().DefaultTimeout();
347
() => connection.
StartAsync
().DefaultTimeout());
372
var startTask = connection.
StartAsync
();
407
var startTask = connection.
StartAsync
(cts.Token);
447
var ex = await Assert.ThrowsAsync<AggregateException>(async () => await connection.
StartAsync
(cts.Token)).DefaultTimeout();
473
await Assert.ThrowsAsync<TaskCanceledException>(async () => await connection.
StartAsync
(new CancellationToken(canceled: true))).DefaultTimeout();
504
var ex = await Assert.ThrowsAsync<AggregateException>(async () => await connection.
StartAsync
()).DefaultTimeout();
530
var ex = await Assert.ThrowsAsync<AggregateException>(async () => await connection.
StartAsync
(cts.Token).DefaultTimeout());
538
await Assert.ThrowsAsync<ObjectDisposedException>(() => connection.
StartAsync
());
HttpConnectionTests.cs (3)
105
await connection.
StartAsync
().DefaultTimeout();
151
await connection.
StartAsync
().DefaultTimeout();
193
await connection.
StartAsync
().DefaultTimeout();
HttpConnectionTests.Negotiate.cs (13)
86
await connection.
StartAsync
().DefaultTimeout();
121
await connection.
StartAsync
().DefaultTimeout();
158
await connection.
StartAsync
().DefaultTimeout();
197
await connection.
StartAsync
().DefaultTimeout();
237
await connection.
StartAsync
().DefaultTimeout();
296
await connection.
StartAsync
().DefaultTimeout();
326
var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => connection.
StartAsync
().DefaultTimeout());
402
await connection.
StartAsync
().DefaultTimeout();
466
await connection.
StartAsync
().DefaultTimeout();
523
await connection.
StartAsync
().DefaultTimeout();
570
await connection.
StartAsync
().DefaultTimeout();
599
var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => connection.
StartAsync
().DefaultTimeout());
616
() => connection.
StartAsync
().DefaultTimeout());
HttpConnectionTests.Transport.cs (13)
69
await connection.
StartAsync
().DefaultTimeout();
95
await connection.
StartAsync
().DefaultTimeout();
145
await connection.
StartAsync
().DefaultTimeout();
185
await connection.
StartAsync
().DefaultTimeout();
217
await connection.
StartAsync
().DefaultTimeout();
244
await connection.
StartAsync
().DefaultTimeout();
274
await connection.
StartAsync
().DefaultTimeout();
291
await connection.
StartAsync
().DefaultTimeout();
338
await Assert.ThrowsAsync<HttpRequestException>(async () => await connection.
StartAsync
().DefaultTimeout());
408
await connection.
StartAsync
().DefaultTimeout();
446
await connection.
StartAsync
().DefaultTimeout();
506
await connection.
StartAsync
().DefaultTimeout();
549
await connection.
StartAsync
().DefaultTimeout();
Microsoft.AspNetCore.SignalR.Tests (11)
EndToEndTests.cs (11)
45
await connection.
StartAsync
().DefaultTimeout();
67
await connection.
StartAsync
().DefaultTimeout();
81
await connection.
StartAsync
().DefaultTimeout();
191
await connection.
StartAsync
().DefaultTimeout();
240
var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => connection.
StartAsync
().DefaultTimeout());
271
await connection.
StartAsync
().DefaultTimeout();
328
await connection.
StartAsync
().DefaultTimeout();
389
var exception = await Assert.ThrowsAsync<HttpRequestException>(() => connection.
StartAsync
().DefaultTimeout());
420
await Assert.ThrowsAsync<WebSocketException>(() => connection.
StartAsync
().DefaultTimeout());
446
await connection.
StartAsync
().DefaultTimeout();
499
await connection.
StartAsync
().DefaultTimeout();