mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
LibCore: Move Stream-based sockets into the Core
namespace
This commit is contained in:
parent
d43a7eae54
commit
a96339b72b
123 changed files with 1157 additions and 1100 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
namespace Protocol {
|
||||
|
||||
RequestClient::RequestClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket)
|
||||
RequestClient::RequestClient(NonnullOwnPtr<Core::LocalSocket> socket)
|
||||
: IPC::ConnectionToServer<RequestClientEndpoint, RequestServerEndpoint>(*this, move(socket))
|
||||
{
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
bool set_certificate(Badge<Request>, Request&, DeprecatedString, DeprecatedString);
|
||||
|
||||
private:
|
||||
RequestClient(NonnullOwnPtr<Core::Stream::LocalSocket>);
|
||||
RequestClient(NonnullOwnPtr<Core::LocalSocket>);
|
||||
|
||||
virtual void request_progress(i32, Optional<u32> const&, u32) override;
|
||||
virtual void request_finished(i32, bool, u32) override;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
namespace Protocol {
|
||||
|
||||
WebSocketClient::WebSocketClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket)
|
||||
WebSocketClient::WebSocketClient(NonnullOwnPtr<Core::LocalSocket> socket)
|
||||
: IPC::ConnectionToServer<WebSocketClientEndpoint, WebSocketServerEndpoint>(*this, move(socket))
|
||||
{
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
bool set_certificate(Badge<WebSocket>, WebSocket&, DeprecatedString, DeprecatedString);
|
||||
|
||||
private:
|
||||
WebSocketClient(NonnullOwnPtr<Core::Stream::LocalSocket>);
|
||||
WebSocketClient(NonnullOwnPtr<Core::LocalSocket>);
|
||||
|
||||
virtual void connected(i32) override;
|
||||
virtual void received(i32, bool, ByteBuffer const&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue