mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-25 18:32:36 +00:00
This is the same behavior as RequestServer, with the added benefit that we know how to gracefully reconnect ImageDecoder to all WebContent processes on restart.
9 lines
307 B
Text
9 lines
307 B
Text
#include <LibCore/AnonymousBuffer.h>
|
|
|
|
endpoint ImageDecoderServer
|
|
{
|
|
decode_image(Core::AnonymousBuffer data, Optional<Gfx::IntSize> ideal_size, Optional<ByteString> mime_type) => (i64 image_id)
|
|
cancel_decoding(i64 image_id) =|
|
|
|
|
connect_new_clients(size_t count) => (Vector<IPC::File> sockets)
|
|
}
|