Base:
property
Url
Microsoft.AspNetCore.SignalR.Tests.InProcessTestServer.Url
118 references to Url
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (89)
HubConnectionTests.cs (73)
97
.WithUrl(server.
Url
+ path, transportType);
136
.WithUrl(server.
Url
+ "/negotiateProtocolVersion12", HttpTransportType.LongPolling);
166
.WithUrl(server.
Url
+ "/negotiateProtocolVersionNegative", HttpTransportType.LongPolling);
195
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
223
var connection = CreateHubConnection(server.
Url
, "/default", HttpTransportType.LongPolling, protocol, LoggerFactory);
253
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
284
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
322
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
382
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
413
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
451
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
486
var connection = CreateHubConnection(server.
Url
, "/default", HttpTransportType.WebSockets, protocol, LoggerFactory);
532
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
567
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
604
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
652
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
690
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
722
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
764
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
794
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
831
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
878
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
931
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
972
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
1013
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
1048
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory);
1076
var connection = CreateHubConnection(server.
Url
, hubPath, transportType, hubProtocol, LoggerFactory);
1103
var connection = CreateHubConnection(server.
Url
, hubPath, transportType, hubProtocol, LoggerFactory);
1130
var connection = CreateHubConnection(server.
Url
, "/default", HttpTransportType.LongPolling, hubProtocol, LoggerFactory);
1157
var connection = CreateHubConnection(server.
Url
, hubPath, transportType, hubProtocol, LoggerFactory);
1184
var connection = CreateHubConnection(server.
Url
, hubPath, transportType, hubProtocol, LoggerFactory);
1212
var connection = CreateHubConnection(server.
Url
, hubPath, transportType, hubProtocol, LoggerFactory);
1240
var connection = CreateHubConnection(server.
Url
, hubPath, transportType, hubProtocol, LoggerFactory);
1268
var connection = CreateHubConnection(server.
Url
, hubPath, transportType, hubProtocol, LoggerFactory);
1295
var connection = CreateHubConnection(server.
Url
, hubPath, transportType, hubProtocol, LoggerFactory);
1322
var connection = CreateHubConnection(server.
Url
, hubPath, transportType, hubProtocol, LoggerFactory);
1362
var connection = CreateHubConnection(server.
Url
, "/default", HttpTransportType.WebSockets, protocol, LoggerFactory);
1416
var connection = CreateHubConnection(server.
Url
, "/default", HttpTransportType.LongPolling, protocol, LoggerFactory);
1459
var connection = CreateHubConnection(server.
Url
, hubPath, transportType, hubProtocol, LoggerFactory);
1478
var httpResponse = await new HttpClient().GetAsync(server.
Url
+ "/generateJwtToken");
1485
.WithUrl(server.
Url
+ "/authorizedhub", transportType, options =>
1521
.WithUrl(server.
Url
+ hubPath, transportType)
1543
.WithUrl(server.
Url
+ "/redirect", transportType)
1571
.WithUrl(server.
Url
+ "/default", transportType, options =>
1602
.WithUrl(server.
Url
+ "/default", HttpTransportType.LongPolling, options =>
1644
.WithUrl(server.
Url
+ "/default", HttpTransportType.LongPolling, options =>
1679
.WithUrl(server.
Url
+ "/default", HttpTransportType.LongPolling, options =>
1715
cookieJar.Add(new System.Net.Cookie("Foo", "Bar", "/", new Uri(server.
Url
).Host));
1719
.WithUrl(server.
Url
+ "/default", HttpTransportType.WebSockets, options =>
1761
.WithUrl(server.
Url
+ "/default", HttpTransportType.WebSockets, options =>
1819
.WithUrl(server.
Url
+ "/windowsauthhub", httpTransportType, options =>
1879
.WithUrl(server.
Url
+ "/windowsauthhub", HttpTransportType.WebSockets, options =>
1922
.WithUrl(server.
Url
+ "/default", HttpTransportType.WebSockets, options =>
1975
.WithUrl(server.
Url
+ "/default", HttpTransportType.WebSockets)
2002
.WithUrl(server.
Url
+ "/default")
2038
.WithUrl(server.
Url
+ "/default", options =>
2070
.WithUrl(server.
Url
+ "/default-nowebsockets");
2100
.WithUrl(server.
Url
+ "/default", options =>
2146
server.
Url
,
2208
.WithUrl(server.
Url
+ "/redirect")
2268
.WithUrl(server.
Url
+ HubPaths.First(), HttpTransportType.WebSockets)
2328
await using var connection = CreateHubConnection(server.
Url
, "/default", transportType, HubProtocols["json"], LoggerFactory);
2379
.WithUrl(server.
Url
+ "/default", HttpTransportType.LongPolling, o => o.HttpMessageHandlerFactory = h =>
2432
.WithUrl(server.
Url
+ "/default", HttpTransportType.LongPolling, o => o.HttpMessageHandlerFactory = h =>
2475
.WithUrl(server.
Url
+ "/default", HttpTransportType.ServerSentEvents, o => o.HttpMessageHandlerFactory = h =>
2525
.WithUrl(server.
Url
+ "/default", HttpTransportType.ServerSentEvents, o => o.HttpMessageHandlerFactory = h =>
2563
.WithUrl(server.
Url
+ "/default", HttpTransportType.WebSockets, o =>
2621
.WithUrl(server.
Url
+ "/default", HttpTransportType.WebSockets, o =>
2691
.WithUrl(server.
Url
+ "/default", HttpTransportType.WebSockets, o =>
2695
var httpResponse = await new HttpClient().GetAsync(server.
Url
+ $"/generateJwtToken/{userName}");
2760
.WithUrl(server.
Url
+ "/default", HttpTransportType.WebSockets, o =>
2813
.WithUrl(server.
Url
+ "/default", HttpTransportType.WebSockets);
2866
.WithUrl(server.
Url
+ "/default", HttpTransportType.WebSockets, o =>
HubConnectionTests.Tracing.cs (12)
60
.WithUrl(server.
Url
+ path, transportType);
128
var port = new Uri(server.
Url
).Port;
253
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory, activitySourceContainer: clientSourceContainer);
300
var port = new Uri(server.
Url
).Port;
397
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory, activitySourceContainer: clientSourceContainer);
429
var port = new Uri(server.
Url
).Port;
500
var connection = CreateHubConnection(server.
Url
, path, transportType, protocol, LoggerFactory, activitySourceContainer: clientSourceContainer);
526
var port = new Uri(server.
Url
).Port;
598
.WithUrl(server.
Url
+ path, transportType);
621
var port = new Uri(server.
Url
).Port;
688
.WithUrl(server.
Url
+ path, transportType);
720
var port = new Uri(server.
Url
).Port;
HubProtocolVersionTests.cs (4)
43
.WithUrl(server.
Url
+ "/version", transportType);
75
.WithUrl(server.
Url
+ "/version", transportType);
118
.WithUrl(new Uri(server.
Url
+ "/version"))
174
.WithUrl(server.
Url
+ "/version", transportType);
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (11)
RedisEndToEnd.cs (11)
46
var connection = CreateConnection(_serverFixture.FirstServer.
Url
+ "/echo", transportType, protocol, LoggerFactory);
66
var connection = CreateConnection(_serverFixture.FirstServer.
Url
+ "/echo", transportType, protocol, LoggerFactory);
67
var secondConnection = CreateConnection(_serverFixture.SecondServer.
Url
+ "/echo", transportType, protocol, LoggerFactory);
98
var connection = CreateConnection(_serverFixture.FirstServer.
Url
+ "/echo", transportType, protocol, LoggerFactory, userName: "userA");
99
var secondConnection = CreateConnection(_serverFixture.SecondServer.
Url
+ "/echo", transportType, protocol, LoggerFactory, userName: "userA");
130
var firstConnection = CreateConnection(_serverFixture.FirstServer.
Url
+ "/echo", transportType, protocol, LoggerFactory, userName: "userA");
131
var secondConnection = CreateConnection(_serverFixture.SecondServer.
Url
+ "/echo", transportType, protocol, LoggerFactory, userName: "userA");
156
var connection = CreateConnection(_serverFixture.FirstServer.
Url
+ "/echo", transportType, protocol, LoggerFactory);
157
var secondConnection = CreateConnection(_serverFixture.SecondServer.
Url
+ "/echo", transportType, protocol, LoggerFactory);
192
var connection = CreateConnection(_serverFixture.FirstServer.
Url
+ "/echo", transportType, protocol, LoggerFactory, userName: "*");
193
var secondConnection = CreateConnection(_serverFixture.SecondServer.
Url
+ "/echo", transportType, protocol, LoggerFactory, userName: "userA");
Microsoft.AspNetCore.SignalR.Tests (17)
EndToEndTests.cs (16)
41
var url = server.
Url
+ "/echo";
61
var url = server.
Url
+ "/echo";
79
var url = server.
Url
+ "/echo";
170
var url = server.
Url
+ "/echo";
220
var url = server.
Url
+ "/echo";
266
var url = server.
Url
+ "/echo";
322
var url = server.
Url
+ "/echo";
386
var url = server.
Url
+ "/auth";
410
var url = server.
Url
+ "/auth";
440
var url = server.
Url
+ "/auth";
479
client.BaseAddress = new Uri(server.
Url
);
485
var url = server.
Url
+ "/auth";
546
var url = server.
Url
+ "/uncreatable";
611
var url = server.
Url
+ "/authHub";
653
client.BaseAddress = new Uri(server.
Url
);
659
var url = server.
Url
+ "/authHub";
NativeAotTests.cs (1)
32
.WithUrl(server.
Url
+ "/hub");
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\InProcessTestServer.cs (1)
55
public override string WebSocketsUrl =>
Url
.Replace("http", "ws");