|
|
|
@ -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 (
|
|
|
|
|