Skip to content

Commit 9e9e214

Browse files
authored
Default SslVerification is now CertificateRequired (#133)
***NO_CI***
1 parent e1b0317 commit 9e9e214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WebSockets/ClientWebSocket/ClientWebSocketOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public class ClientWebSocketOptions : WebSocketOptions
2727

2828
/// <summary>
2929
/// Option for SSL verification.
30-
/// The default behavior is <see cref="SslVerification.NoVerification"/>.
30+
/// The default behavior is <see cref="SslVerification.CertificateRequired"/>.
3131
/// </summary>
32-
public SslVerification SslVerification { get; set; } = SslVerification.NoVerification;
32+
public SslVerification SslVerification { get; set; } = SslVerification.CertificateRequired;
3333

3434
/// <summary>
3535
/// Gets or sets a collection of client side certificate. This certificate will automatically be used when connecting to a wss:// server

0 commit comments

Comments
 (0)