[Modify] Throw exception

master
sta 8 years ago
parent 860165eb14
commit 73a0b51c09

@ -630,6 +630,11 @@ namespace WebSocketSharp.Server
/// </value>
public ServerSslConfiguration SslConfiguration {
get {
if (!_secure) {
var msg = "This instance does not provide secure connections.";
throw new InvalidOperationException (msg);
}
return _listener.SslConfiguration;
}
}

Loading…
Cancel
Save