mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibCore: Rename Stream::*_or_error to *_entire_buffer
All of our functions are `_or_error` (or are about to be), and maybe making it less reminiscient of AK::Stream will make people use it more.
This commit is contained in:
committed by
Andreas Kling
parent
ed4c2f2f8e
commit
6c7c5a6786
Notes:
sideshowbarker
2024-07-17 03:22:57 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/6c7c5a6786 Pull-request: https://github.com/SerenityOS/serenity/pull/16429 Reviewed-by: https://github.com/sin-ack ✅
@@ -21,7 +21,7 @@ bool WebSocketImplSerenity::can_read_line()
|
||||
|
||||
bool WebSocketImplSerenity::send(ReadonlyBytes bytes)
|
||||
{
|
||||
return m_socket->write_or_error(bytes);
|
||||
return m_socket->write_entire_buffer(bytes);
|
||||
}
|
||||
|
||||
bool WebSocketImplSerenity::eof()
|
||||
|
||||
Reference in New Issue
Block a user