mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 07:05:08 +00:00

NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
14 lines
484 B
Text
14 lines
484 B
Text
typedef (sequence<sequence<ByteString>> or record<ByteString, ByteString>) HeadersInit;
|
|
|
|
[Exposed=(Window,Worker)]
|
|
interface Headers {
|
|
constructor(optional HeadersInit init);
|
|
|
|
undefined append(ByteString name, ByteString value);
|
|
undefined delete(ByteString name);
|
|
ByteString? get(ByteString name);
|
|
sequence<ByteString> getSetCookie();
|
|
boolean has(ByteString name);
|
|
undefined set(ByteString name, ByteString value);
|
|
iterable<ByteString, ByteString>;
|
|
};
|