#include <AK/URL.h>

endpoint RequestClient
{
    request_progress(i32 request_id, Optional<u32> total_size, u32 downloaded_size) =|
    request_finished(i32 request_id, bool success, u32 total_size) =|
    headers_became_available(i32 request_id, IPC::Dictionary response_headers, Optional<u32> status_code) =|

    // Certificate requests
    certificate_requested(i32 request_id) =|
}
