Browse Source

[Modify] Polish it

pull/571/merge
sta 3 months ago
parent
commit
633e6efdf9
  1. 4
      websocket-sharp/WebSocket.cs

4
websocket-sharp/WebSocket.cs

@ -741,13 +741,13 @@ namespace WebSocketSharp
public ClientSslConfiguration SslConfiguration { public ClientSslConfiguration SslConfiguration {
get { get {
if (!_isClient) { if (!_isClient) {
var msg = "The interface is not for the client.";
var msg = "The get operation is not available.";
throw new InvalidOperationException (msg); throw new InvalidOperationException (msg);
} }
if (!_isSecure) { if (!_isSecure) {
var msg = "The interface does not use a secure connection.";
var msg = "The get operation is not available.";
throw new InvalidOperationException (msg); throw new InvalidOperationException (msg);
} }

Loading…
Cancel
Save