summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibProtocol/RequestClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibProtocol/RequestClient.cpp')
-rw-r--r--Userland/Libraries/LibProtocol/RequestClient.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/Userland/Libraries/LibProtocol/RequestClient.cpp b/Userland/Libraries/LibProtocol/RequestClient.cpp
index 8c25c1ea27..cbf3d6cc36 100644
--- a/Userland/Libraries/LibProtocol/RequestClient.cpp
+++ b/Userland/Libraries/LibProtocol/RequestClient.cpp
@@ -21,11 +21,6 @@ void RequestClient::handshake()
greet();
}
-bool RequestClient::is_supported_protocol(const String& protocol)
-{
- return IPCProxy::is_supported_protocol(protocol).supported();
-}
-
template<typename RequestHashMapTraits>
RefPtr<Request> RequestClient::start_request(const String& method, const String& url, const HashMap<String, String, RequestHashMapTraits>& request_headers, ReadonlyBytes request_body)
{
@@ -49,14 +44,14 @@ bool RequestClient::stop_request(Badge<Request>, Request& request)
{
if (!m_requests.contains(request.id()))
return false;
- return IPCProxy::stop_request(request.id()).success();
+ return IPCProxy::stop_request(request.id());
}
bool RequestClient::set_certificate(Badge<Request>, Request& request, String certificate, String key)
{
if (!m_requests.contains(request.id()))
return false;
- return IPCProxy::set_certificate(request.id(), move(certificate), move(key)).success();
+ return IPCProxy::set_certificate(request.id(), move(certificate), move(key));
}
void RequestClient::request_finished(i32 request_id, bool success, u32 total_size)