var options = new GenericLoopbackOptions { Address = address };
- if (PlatformDetection.IsAndroid && options.UseSsl && address == IPAddress.IPv6Loopback)
- {
- throw new SkipTestException("TargetHost cannot be set to an IPv6 address on Android because the string doesn't conform to the STD 3 ASCII rules");
- }
-
await LoopbackServerFactory.CreateServerAsync(async (server, url) =>
{
_output.WriteLine(url.ToString());
return;
}
- if (PlatformDetection.IsAndroid && useSsl && address == IPAddress.IPv6Loopback)
- {
- throw new SkipTestException("TargetHost cannot be set to an IPv6 address on Android because the string doesn't conform to the STD 3 ASCII rules");
- }
-
var options = new LoopbackServer.Options { Address = address, UseSsl = useSsl };
bool connectionAccepted = false;
string host = "";