1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 22:11:00 +00:00
serenity/Servers/ProtocolServer/ProtocolClient.ipc
Andreas Kling eb6e35a1be ProtocolServer: Pass HTTP response headers to the client
We now store the response headers in a download object on the protocol
server side and pass it to the client when finishing up a download.

Response headers are passed as an IPC::Dictionary. :^)
2020-05-03 23:01:58 +02:00

6 lines
270 B
Text

endpoint ProtocolClient = 13
{
// Download notifications
DownloadProgress(i32 download_id, Optional<u32> total_size, u32 downloaded_size) =|
DownloadFinished(i32 download_id, bool success, u32 total_size, i32 shbuf_id, IPC::Dictionary response_headers) =|
}