[Modify] Polish it
This commit is contained in:
parent
820fa050a7
commit
3e14ce12c7
@ -754,13 +754,11 @@ namespace WebSocketSharp.Net
|
|||||||
// From server to client
|
// From server to client
|
||||||
internal string ToResponseString ()
|
internal string ToResponseString ()
|
||||||
{
|
{
|
||||||
return _name.Length > 0
|
return _name.Length == 0
|
||||||
? (
|
? String.Empty
|
||||||
_version == 0
|
: _version == 0
|
||||||
? toResponseStringVersion0 ()
|
? toResponseStringVersion0 ()
|
||||||
: toResponseStringVersion1 ()
|
: toResponseStringVersion1 ();
|
||||||
)
|
|
||||||
: String.Empty;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user