mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
LibCore: Move Stream-based sockets into the Core
namespace
This commit is contained in:
parent
d43a7eae54
commit
a96339b72b
Notes:
sideshowbarker
2024-07-17 07:25:39 +09:00
Author: https://github.com/timschumi
Commit: a96339b72b
Pull-request: https://github.com/SerenityOS/serenity/pull/17406
Reviewed-by: https://github.com/linusg
123 changed files with 1157 additions and 1100 deletions
|
@ -60,7 +60,7 @@ public:
|
|||
Function<void(ResponseData&&)> unrequested_response_callback;
|
||||
|
||||
private:
|
||||
Client(StringView host, u16 port, NonnullOwnPtr<Core::Stream::Socket>);
|
||||
Client(StringView host, u16 port, NonnullOwnPtr<Core::Socket>);
|
||||
void setup_callbacks();
|
||||
|
||||
ErrorOr<void> on_ready_to_receive();
|
||||
|
@ -71,7 +71,7 @@ private:
|
|||
StringView m_host;
|
||||
u16 m_port;
|
||||
|
||||
NonnullOwnPtr<Core::Stream::Socket> m_socket;
|
||||
NonnullOwnPtr<Core::Socket> m_socket;
|
||||
RefPtr<Promise<Empty>> m_connect_pending {};
|
||||
|
||||
int m_current_command = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue