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

This commit is contained in:
Richard Possnett 2024-07-21 15:36:34 +01:00 committed by GitHub
parent 3073b87e63
commit 8e6a157560
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;