[Modify] Polish it
This commit is contained in:
parent
0f2c16f9ed
commit
735f7bf718
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user