File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Userland/Libraries/LibWeb/Fetch Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,14 @@ class Headers final : public Bindings::PlatformObject {
35
35
36
36
virtual ~Headers () override ;
37
37
38
+ [[nodiscard]] Infrastructure::HeaderList& header_list () { return m_header_list; }
39
+ [[nodiscard]] Infrastructure::HeaderList const & header_list () const { return m_header_list; }
40
+ void set_header_list (Infrastructure::HeaderList header_list) { m_header_list = move (header_list); }
41
+
42
+ [[nodiscard]] Guard guard () const { return m_guard; }
43
+ void set_guard (Guard guard) { m_guard = guard; }
44
+
45
+ // JS API functions
38
46
WebIDL::ExceptionOr<void > append (Infrastructure::Header);
39
47
WebIDL::ExceptionOr<void > append (String const & name, String const & value);
40
48
WebIDL::ExceptionOr<void > delete_ (String const & name);
You can’t perform that action at this time.
0 commit comments