ladybird/Libraries/LibWeb/Fetch/Infrastructure/PortBlocking.h
2025-08-23 16:04:36 -06:00

19 lines
431 B
C++

/*
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Forward.h>
#include <LibWeb/Export.h>
#include <LibWeb/Fetch/Infrastructure/RequestOrResponseBlocking.h>
#include <LibWeb/Forward.h>
namespace Web::Fetch::Infrastructure {
[[nodiscard]] WEB_API RequestOrResponseBlocking block_bad_port(Request const&);
[[nodiscard]] bool is_bad_port(u16);
}