2024-03-18 16:22:27 +13:00
|
|
|
#include <LibURL/URL.h>
|
2023-11-08 11:47:41 -07:00
|
|
|
#include <LibIPC/File.h>
|
2023-12-20 13:47:01 -07:00
|
|
|
#include <LibWeb/HTML/StructuredSerialize.h>
|
2024-03-05 09:42:10 -07:00
|
|
|
#include <LibWeb/HTML/Scripting/SerializedEnvironmentSettingsObject.h>
|
2023-11-08 11:47:41 -07:00
|
|
|
|
|
|
|
|
endpoint WebWorkerServer {
|
|
|
|
|
|
2024-03-18 16:22:27 +13:00
|
|
|
start_dedicated_worker(URL::URL url, String type, String credentials, String name, Web::HTML::TransferDataHolder message_port, Web::HTML::SerializedEnvironmentSettingsObject outside_settings) =|
|
2023-11-08 11:47:41 -07:00
|
|
|
|
|
|
|
|
handle_file_return(i32 error, Optional<IPC::File> file, i32 request_id) =|
|
|
|
|
|
}
|