mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:17:35 +00:00
LibGemini: Propagate errors in Job::read_line and Job::receive
This patch removes a FIXME
This commit is contained in:
parent
f883dc3eb0
commit
083802d41a
2 changed files with 33 additions and 20 deletions
|
@ -37,9 +37,9 @@ protected:
|
|||
void flush_received_buffers();
|
||||
void register_on_ready_to_read(Function<void()>);
|
||||
bool can_read_line() const;
|
||||
DeprecatedString read_line(size_t);
|
||||
ErrorOr<String> read_line(size_t);
|
||||
bool can_read() const;
|
||||
ByteBuffer receive(size_t);
|
||||
ErrorOr<ByteBuffer> receive(size_t);
|
||||
bool write(ReadonlyBytes);
|
||||
|
||||
enum class State {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue