2025-02-07 15:52:41 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2025, Tim Flynn <trflynn89@ladybird.org>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <AK/JsonObject.h>
|
2025-07-19 23:35:33 -03:00
|
|
|
#include <LibWeb/Export.h>
|
2025-02-07 15:52:41 -03:00
|
|
|
#include <LibWeb/WebDriver/Error.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::WebDriver {
|
|
|
|
|
|
|
|
|
|
bool has_proxy_configuration();
|
|
|
|
|
void set_has_proxy_configuration(bool);
|
2025-07-19 23:35:33 -03:00
|
|
|
WEB_API void reset_has_proxy_configuration();
|
2025-02-07 15:52:41 -03:00
|
|
|
|
|
|
|
|
ErrorOr<JsonObject, Error> deserialize_as_a_proxy(JsonValue const&);
|
|
|
|
|
|
|
|
|
|
}
|