mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00
LibCore: Make IODevice::read_line() return a String
Almost everyone using this API actually wanted String instead of a ByteBuffer anyway, and there were a bunch of slightly different ways clients would convert to String. Let's just cut out all the confusion and make it return String. :^)
This commit is contained in:
parent
4da327d650
commit
b9b7b2b28a
Notes:
sideshowbarker
2024-07-19 01:59:31 +09:00
Author: https://github.com/awesomekling
Commit: b9b7b2b28a
22 changed files with 50 additions and 66 deletions
|
@ -126,7 +126,7 @@ bool HttpsJob::can_read_line() const
|
|||
return m_socket->can_read_line();
|
||||
}
|
||||
|
||||
ByteBuffer HttpsJob::read_line(size_t size)
|
||||
String HttpsJob::read_line(size_t size)
|
||||
{
|
||||
return m_socket->read_line(size);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue