/* * Copyright (c) 2022, Ali Mohammad Pur * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace Web { class ProxyMappings { public: static ProxyMappings& the(); Core::ProxyData proxy_for_url(AK::URL const&) const; void set_mappings(Vector proxies, OrderedHashMap mappings); private: ProxyMappings() = default; ~ProxyMappings() = default; Vector m_proxies; OrderedHashMap m_mappings; }; }