mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
RequestServer: Remove unnecessary greet() message
This commit is contained in:
parent
bf33b5df6e
commit
6b2f24018d
4 changed files with 0 additions and 9 deletions
|
@ -18,7 +18,6 @@ RequestClient::RequestClient()
|
|||
|
||||
void RequestClient::handshake()
|
||||
{
|
||||
greet();
|
||||
}
|
||||
|
||||
template<typename RequestHashMapTraits>
|
||||
|
|
|
@ -99,10 +99,6 @@ void ClientConnection::did_request_certificates(Badge<Request>, Request& request
|
|||
async_certificate_requested(request.id());
|
||||
}
|
||||
|
||||
void ClientConnection::greet()
|
||||
{
|
||||
}
|
||||
|
||||
Messages::RequestServer::SetCertificateResponse ClientConnection::set_certificate(i32 request_id, String const& certificate, String const& key)
|
||||
{
|
||||
auto* request = const_cast<Request*>(m_requests.get(request_id).value_or(nullptr));
|
||||
|
|
|
@ -30,7 +30,6 @@ public:
|
|||
void did_request_certificates(Badge<Request>, Request&);
|
||||
|
||||
private:
|
||||
virtual void greet() override;
|
||||
virtual Messages::RequestServer::IsSupportedProtocolResponse is_supported_protocol(String const&) override;
|
||||
virtual Messages::RequestServer::StartRequestResponse start_request(String const&, URL const&, IPC::Dictionary const&, ByteBuffer const&) override;
|
||||
virtual Messages::RequestServer::StopRequestResponse stop_request(i32) override;
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
endpoint RequestServer
|
||||
{
|
||||
// Basic protocol
|
||||
greet() => ()
|
||||
|
||||
// Test if a specific protocol is supported, e.g "http"
|
||||
is_supported_protocol(String protocol) => (bool supported)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue