/* * Copyright (c) 2023, Bastiaan van der Plaat * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::HTML { class NavigatorBeaconMixin { public: WebIDL::ExceptionOr send_beacon(String const& url, Optional const& data = {}); private: virtual ~NavigatorBeaconMixin() = default; friend class Navigator; }; }