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); 195var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 223var connection = CreateHubConnection(server.Url, "/default", HttpTransportType.LongPolling, protocol, LoggerFactory); 253var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 284var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 322var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 382var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 413var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 451var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 486var connection = CreateHubConnection(server.Url, "/default", HttpTransportType.WebSockets, protocol, LoggerFactory); 532var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 567var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 604var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 652var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 690var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 722var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 764var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 794var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 831var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 878var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 931var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 972var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 1013var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 1048var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory); 1076var connection = CreateHubConnection(server.Url, hubPath, transportType, hubProtocol, LoggerFactory); 1103var connection = CreateHubConnection(server.Url, hubPath, transportType, hubProtocol, LoggerFactory); 1130var connection = CreateHubConnection(server.Url, "/default", HttpTransportType.LongPolling, hubProtocol, LoggerFactory); 1157var connection = CreateHubConnection(server.Url, hubPath, transportType, hubProtocol, LoggerFactory); 1184var connection = CreateHubConnection(server.Url, hubPath, transportType, hubProtocol, LoggerFactory); 1212var connection = CreateHubConnection(server.Url, hubPath, transportType, hubProtocol, LoggerFactory); 1240var connection = CreateHubConnection(server.Url, hubPath, transportType, hubProtocol, LoggerFactory); 1268var connection = CreateHubConnection(server.Url, hubPath, transportType, hubProtocol, LoggerFactory); 1295var connection = CreateHubConnection(server.Url, hubPath, transportType, hubProtocol, LoggerFactory); 1322var connection = CreateHubConnection(server.Url, hubPath, transportType, hubProtocol, LoggerFactory); 1362var connection = CreateHubConnection(server.Url, "/default", HttpTransportType.WebSockets, protocol, LoggerFactory); 1416var connection = CreateHubConnection(server.Url, "/default", HttpTransportType.LongPolling, protocol, LoggerFactory); 1459var connection = CreateHubConnection(server.Url, hubPath, transportType, hubProtocol, LoggerFactory); 1478var 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 => 1715cookieJar.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 => 2146server.Url, 2208.WithUrl(server.Url + "/redirect") 2268.WithUrl(server.Url + HubPaths.First(), HttpTransportType.WebSockets) 2328await 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 => 2695var 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); 128var port = new Uri(server.Url).Port; 253var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory, activitySourceContainer: clientSourceContainer); 300var port = new Uri(server.Url).Port; 397var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory, activitySourceContainer: clientSourceContainer); 429var port = new Uri(server.Url).Port; 500var connection = CreateHubConnection(server.Url, path, transportType, protocol, LoggerFactory, activitySourceContainer: clientSourceContainer); 526var port = new Uri(server.Url).Port; 598.WithUrl(server.Url + path, transportType); 621var port = new Uri(server.Url).Port; 688.WithUrl(server.Url + path, transportType); 720var 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)
46var connection = CreateConnection(_serverFixture.FirstServer.Url + "/echo", transportType, protocol, LoggerFactory); 66var connection = CreateConnection(_serverFixture.FirstServer.Url + "/echo", transportType, protocol, LoggerFactory); 67var secondConnection = CreateConnection(_serverFixture.SecondServer.Url + "/echo", transportType, protocol, LoggerFactory); 98var connection = CreateConnection(_serverFixture.FirstServer.Url + "/echo", transportType, protocol, LoggerFactory, userName: "userA"); 99var secondConnection = CreateConnection(_serverFixture.SecondServer.Url + "/echo", transportType, protocol, LoggerFactory, userName: "userA"); 130var firstConnection = CreateConnection(_serverFixture.FirstServer.Url + "/echo", transportType, protocol, LoggerFactory, userName: "userA"); 131var secondConnection = CreateConnection(_serverFixture.SecondServer.Url + "/echo", transportType, protocol, LoggerFactory, userName: "userA"); 156var connection = CreateConnection(_serverFixture.FirstServer.Url + "/echo", transportType, protocol, LoggerFactory); 157var secondConnection = CreateConnection(_serverFixture.SecondServer.Url + "/echo", transportType, protocol, LoggerFactory); 192var connection = CreateConnection(_serverFixture.FirstServer.Url + "/echo", transportType, protocol, LoggerFactory, userName: "*"); 193var secondConnection = CreateConnection(_serverFixture.SecondServer.Url + "/echo", transportType, protocol, LoggerFactory, userName: "userA");
Microsoft.AspNetCore.SignalR.Tests (17)
EndToEndTests.cs (16)
41var url = server.Url + "/echo"; 61var url = server.Url + "/echo"; 79var url = server.Url + "/echo"; 170var url = server.Url + "/echo"; 220var url = server.Url + "/echo"; 266var url = server.Url + "/echo"; 322var url = server.Url + "/echo"; 386var url = server.Url + "/auth"; 410var url = server.Url + "/auth"; 440var url = server.Url + "/auth"; 479client.BaseAddress = new Uri(server.Url); 485var url = server.Url + "/auth"; 546var url = server.Url + "/uncreatable"; 611var url = server.Url + "/authHub"; 653client.BaseAddress = new Uri(server.Url); 659var url = server.Url + "/authHub";
NativeAotTests.cs (1)
32.WithUrl(server.Url + "/hub");
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\InProcessTestServer.cs (1)
55public override string WebSocketsUrl => Url.Replace("http", "ws");