[Modify] Move it
This commit is contained in:
parent
41619ca1b1
commit
75faec8860
@ -139,6 +139,16 @@ namespace WebSocketSharp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal ulong FullPayloadLength {
|
||||||
|
get {
|
||||||
|
return _payloadLength < 126
|
||||||
|
? _payloadLength
|
||||||
|
: _payloadLength == 126
|
||||||
|
? _extPayloadLength.ToUInt16 (ByteOrder.Big)
|
||||||
|
: _extPayloadLength.ToUInt64 (ByteOrder.Big);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
@ -155,16 +165,6 @@ namespace WebSocketSharp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ulong FullPayloadLength {
|
|
||||||
get {
|
|
||||||
return _payloadLength < 126
|
|
||||||
? _payloadLength
|
|
||||||
: _payloadLength == 126
|
|
||||||
? _extPayloadLength.ToUInt16 (ByteOrder.Big)
|
|
||||||
: _extPayloadLength.ToUInt64 (ByteOrder.Big);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool IsBinary {
|
public bool IsBinary {
|
||||||
get {
|
get {
|
||||||
return _opcode == Opcode.Binary;
|
return _opcode == Opcode.Binary;
|
||||||
|
Loading…
Reference in New Issue
Block a user