summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Fetch/Enums.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-09-25 19:36:30 +0100
committerLinus Groh <mail@linusgroh.de>2022-09-27 14:56:17 +0100
commit0b52b883af2989cc43b75db4835325a2c31e71d5 (patch)
treeb9a7fb6c90d589dbe4055e9dfb8855da78a0d1b9 /Userland/Libraries/LibWeb/Fetch/Enums.h
parent9fb672e9815a240fcefbd948806351c7e943922a (diff)
downloadserenity-0b52b883af2989cc43b75db4835325a2c31e71d5.zip
LibWeb: Implement '5.5. Response class' from the Fetch API :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/Fetch/Enums.h')
-rw-r--r--Userland/Libraries/LibWeb/Fetch/Enums.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Fetch/Enums.h b/Userland/Libraries/LibWeb/Fetch/Enums.h
index f74921dd1b..2890f97330 100644
--- a/Userland/Libraries/LibWeb/Fetch/Enums.h
+++ b/Userland/Libraries/LibWeb/Fetch/Enums.h
@@ -8,6 +8,7 @@
#include <AK/Forward.h>
#include <LibWeb/Fetch/Infrastructure/HTTP/Requests.h>
+#include <LibWeb/Fetch/Infrastructure/HTTP/Responses.h>
#include <LibWeb/Forward.h>
namespace Web::Fetch {
@@ -24,5 +25,6 @@ namespace Web::Fetch {
[[nodiscard]] Bindings::RequestCredentials to_bindings_enum(Infrastructure::Request::CredentialsMode);
[[nodiscard]] Bindings::RequestCache to_bindings_enum(Infrastructure::Request::CacheMode);
[[nodiscard]] Bindings::RequestRedirect to_bindings_enum(Infrastructure::Request::RedirectMode);
+[[nodiscard]] Bindings::ResponseType to_bindings_enum(Infrastructure::Response::Type);
}