1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

LibWebSocket: Remove unused WebSocketImpl::can_read()

This commit is contained in:
Andreas Kling 2022-11-08 19:16:59 +01:00
parent be5f6aa46e
commit 8e50809f20
3 changed files with 0 additions and 7 deletions

View file

@ -19,11 +19,6 @@ bool WebSocketImplSerenity::can_read_line()
return MUST(m_socket->can_read_line());
}
bool WebSocketImplSerenity::can_read()
{
return MUST(m_socket->can_read_without_blocking());
}
bool WebSocketImplSerenity::send(ReadonlyBytes bytes)
{
return m_socket->write_or_error(bytes);