[Modify] Remove older
This commit is contained in:
parent
b0be2a7dbb
commit
011fc19269
@ -708,24 +708,6 @@ Extended Payload Length: {7}
|
|||||||
|
|
||||||
internal static void ReadAsync (
|
internal static void ReadAsync (
|
||||||
Stream stream, bool unmask, Action<WebSocketFrame> completed, Action<Exception> error)
|
Stream stream, bool unmask, Action<WebSocketFrame> completed, Action<Exception> error)
|
||||||
{
|
|
||||||
readHeaderAsync (
|
|
||||||
stream,
|
|
||||||
frame => {
|
|
||||||
readExtendedPayloadLength (stream, frame);
|
|
||||||
readMaskingKey (stream, frame);
|
|
||||||
readPayloadData (stream, frame);
|
|
||||||
|
|
||||||
if (unmask)
|
|
||||||
frame.Unmask ();
|
|
||||||
|
|
||||||
completed (frame);
|
|
||||||
},
|
|
||||||
error);
|
|
||||||
}
|
|
||||||
|
|
||||||
internal static void ReadAsync2 (
|
|
||||||
Stream stream, bool unmask, Action<WebSocketFrame> completed, Action<Exception> error)
|
|
||||||
{
|
{
|
||||||
readHeaderAsync (
|
readHeaderAsync (
|
||||||
stream,
|
stream,
|
||||||
|
Loading…
Reference in New Issue
Block a user