Skip to content

Commit

Permalink
added StartReceive method
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryjiang committed Jul 20, 2024
1 parent 15516c0 commit c236816
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/WebSocket4Net/WebSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ private void WriteHandshakeRequest(PipeWriter writer, string secKey)
writer.Write($"{WebSocketConstant.SecWebSocketVersion}: 13\r\n\r\n", _asciiEncoding);
}

public new void StartReceive()
{
base.StartReceive();
}

public new async ValueTask<WebSocketPackage> ReceiveAsync()
{
return await ReceiveAsync(
Expand Down

0 comments on commit c236816

Please sign in to comment.