Browse Source

[Modify] Polish it

master
sta 1 month ago
parent
commit
a304b6ce59
  1. 7
      websocket-sharp/WebSocket.cs

7
websocket-sharp/WebSocket.cs

@ -1464,7 +1464,9 @@ namespace WebSocketSharp
if (_credentials == null)
return null;
if (_authChallenge != null) {
if (_authChallenge == null)
return _preAuth ? new AuthenticationResponse (_credentials) : null;
var ret = new AuthenticationResponse (
_authChallenge,
_credentials,
@ -1476,9 +1478,6 @@ namespace WebSocketSharp
return ret;
}
return _preAuth ? new AuthenticationResponse (_credentials) : null;
}
// As client
private string createExtensions ()
{

Loading…
Cancel
Save