ladybird/Userland/Libraries/LibWeb/URL/URLSearchParams.idl
2021-10-26 23:11:57 +02:00

18 lines
513 B
Plaintext

interface URLSearchParams {
// FIXME: the real type of init is (sequence<sequence<USVString>> or record<USVString, USVString> or USVString)
constructor(optional USVString init = "");
undefined append(USVString name, USVString value);
undefined delete(USVString name);
USVString? get(USVString name);
sequence<USVString> getAll(USVString name);
boolean has(USVString name);
undefined set(USVString name, USVString value);
undefined sort();
iterable<USVString, USVString>;
stringifier;
};