1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

LibIPC: Remove unnecessary IPC::ServerConnection::handshake()

This is no longer used by any of our IPC pairs.
This commit is contained in:
Andreas Kling 2021-05-23 09:46:05 +02:00
parent 2eceabdcfd
commit c1c252ddb2
25 changed files with 1 additions and 71 deletions

View file

@ -12,11 +12,6 @@ namespace Protocol {
RequestClient::RequestClient()
: IPC::ServerConnection<RequestClientEndpoint, RequestServerEndpoint>(*this, "/tmp/portal/request")
{
handshake();
}
void RequestClient::handshake()
{
}

View file

@ -21,8 +21,6 @@ class RequestClient
C_OBJECT(RequestClient);
public:
virtual void handshake() override;
template<typename RequestHashMapTraits = Traits<String>>
RefPtr<Request> start_request(const String& method, const String& url, const HashMap<String, String, RequestHashMapTraits>& request_headers = {}, ReadonlyBytes request_body = {});

View file

@ -11,11 +11,6 @@ namespace Protocol {
WebSocketClient::WebSocketClient()
: IPC::ServerConnection<WebSocketClientEndpoint, WebSocketServerEndpoint>(*this, "/tmp/portal/websocket")
{
handshake();
}
void WebSocketClient::handshake()
{
}

View file

@ -21,8 +21,6 @@ class WebSocketClient
C_OBJECT(WebSocketClient);
public:
virtual void handshake() override;
RefPtr<WebSocket> connect(const URL&, const String& origin = {}, const Vector<String>& protocols = {}, const Vector<String>& extensions = {}, const HashMap<String, String>& request_headers = {});
u32 ready_state(Badge<WebSocket>, WebSocket&);