A small refactoring
This commit is contained in:
parent
93137666f7
commit
6c8c4759c4
@ -622,7 +622,7 @@ namespace WebSocketSharp
|
|||||||
return response.IsRedirect
|
return response.IsRedirect
|
||||||
? "Indicates the redirection."
|
? "Indicates the redirection."
|
||||||
: response.IsUnauthorized
|
: response.IsUnauthorized
|
||||||
? "Requires the HTTP authentication."
|
? "Requires the authentication."
|
||||||
: !response.IsWebSocketResponse
|
: !response.IsWebSocketResponse
|
||||||
? "Not a WebSocket connection response."
|
? "Not a WebSocket connection response."
|
||||||
: !validateSecWebSocketAcceptHeader (headers["Sec-WebSocket-Accept"])
|
: !validateSecWebSocketAcceptHeader (headers["Sec-WebSocket-Accept"])
|
||||||
|
Loading…
Reference in New Issue
Block a user