feat(SimpleWebTransport): Allow https URI scheme (#3850)

This commit is contained in:
Richard Possnett 2024-07-21 15:36:34 +01:00 committed by MrGadget
parent 9ea5b3006a
commit 35c1055e24

View File

@ -11,7 +11,7 @@ internal class ClientSslHelper
internal bool TryCreateStream(Connection conn, Uri uri)
{
NetworkStream stream = conn.client.GetStream();
if (uri.Scheme != "wss")
if (uri.Scheme != "wss" && uri.Scheme != "https")
{
conn.stream = stream;
return true;