[Modify] Polish it

This commit is contained in:
sta 2021-12-08 19:37:47 +09:00
parent 0f2c16f9ed
commit 735f7bf718

View File

@ -579,7 +579,9 @@ Extended Payload Length: {7}
private static WebSocketFrame readHeader (Stream stream)
{
return processHeader (stream.ReadBytes (2));
var bytes = stream.ReadBytes (2);
return processHeader (bytes);
}
private static void readHeaderAsync (