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