[Modify] Polish it
This commit is contained in:
parent
beb3a14976
commit
8d94a28a2e
@ -123,7 +123,7 @@ namespace WebSocketSharp
|
||||
internal ushort Code {
|
||||
get {
|
||||
if (!_codeSet) {
|
||||
_code = _length > 1
|
||||
_code = _length >= 2
|
||||
? _data.SubArray (0, 2).ToUInt16 (ByteOrder.Big)
|
||||
: (ushort) 1005;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user