[Modify] Edit it

master
sta 10 years ago
parent b3cbea3485
commit f504d5f926

@ -73,7 +73,8 @@ namespace Example
// To enable the Per-message Compression extension. // To enable the Per-message Compression extension.
//ws.Compression = CompressionMethod.Deflate; //ws.Compression = CompressionMethod.Deflate;
/* To validate the server certificate. // To validate the server certificate.
/*
ws.SslConfiguration.ServerCertificateValidationCallback = ws.SslConfiguration.ServerCertificateValidationCallback =
(sender, certificate, chain, sslPolicyErrors) => { (sender, certificate, chain, sslPolicyErrors) => {
ws.Log.Debug ( ws.Log.Debug (

Loading…
Cancel
Save