/* * Copyright (c) 2022-2023, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include #include namespace Web::Fetch { JS::NonnullGCPtr fetch(JS::VM&, RequestInfo const& input, RequestInit const& init = {}); void abort_fetch(JS::Realm&, WebIDL::Promise const&, JS::NonnullGCPtr, JS::GCPtr, JS::Value error); }