diff --git a/src/WebSocket4Net/WebSocket.cs b/src/WebSocket4Net/WebSocket.cs index 8a383ee..49fb708 100644 --- a/src/WebSocket4Net/WebSocket.cs +++ b/src/WebSocket4Net/WebSocket.cs @@ -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 ReceiveAsync() { return await ReceiveAsync(