mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibWebSocket: Remove unused WebSocketImpl::can_read()
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 00:54:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/8e50809f20
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user