mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:37:34 +00:00
RequestServer: Avoid unnecessary IPC::Dictionary wrapper
We already have and use HashMap<DeprecatedString, DeprecatedString> nearly everywhere, which is equivalent.
This commit is contained in:
parent
0ee5a4e308
commit
9b9a38ec81
6 changed files with 23 additions and 20 deletions
|
@ -6,7 +6,7 @@ endpoint RequestServer
|
|||
// Test if a specific protocol is supported, e.g "http"
|
||||
is_supported_protocol(DeprecatedString protocol) => (bool supported)
|
||||
|
||||
start_request(DeprecatedString method, URL url, IPC::Dictionary request_headers, ByteBuffer request_body, Core::ProxyData proxy_data) => (i32 request_id, Optional<IPC::File> response_fd)
|
||||
start_request(DeprecatedString method, URL url, HashMap<DeprecatedString,DeprecatedString> request_headers, ByteBuffer request_body, Core::ProxyData proxy_data) => (i32 request_id, Optional<IPC::File> response_fd)
|
||||
stop_request(i32 request_id) => (bool success)
|
||||
set_certificate(i32 request_id, DeprecatedString certificate, DeprecatedString key) => (bool success)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue