[Modify] Polish it
This commit is contained in:
parent
0dc64a8a02
commit
820fa050a7
@ -755,7 +755,11 @@ namespace WebSocketSharp.Net
|
|||||||
internal string ToResponseString ()
|
internal string ToResponseString ()
|
||||||
{
|
{
|
||||||
return _name.Length > 0
|
return _name.Length > 0
|
||||||
? (_version == 0 ? toResponseStringVersion0 () : toResponseStringVersion1 ())
|
? (
|
||||||
|
_version == 0
|
||||||
|
? toResponseStringVersion0 ()
|
||||||
|
: toResponseStringVersion1 ()
|
||||||
|
)
|
||||||
: String.Empty;
|
: String.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user