These no longer serve any purpose now that we run the IDLGenerator on all of these files at once.
11 lines
412 B
Text
11 lines
412 B
Text
// https://fetch.spec.whatwg.org/#body
|
|
interface mixin Body {
|
|
readonly attribute ReadableStream? body;
|
|
readonly attribute boolean bodyUsed;
|
|
[NewObject] Promise<ArrayBuffer> arrayBuffer();
|
|
[NewObject] Promise<Blob> blob();
|
|
[NewObject] Promise<Uint8Array> bytes();
|
|
[NewObject] Promise<FormData> formData();
|
|
[NewObject] Promise<any> json();
|
|
[NewObject] Promise<USVString> text();
|
|
};
|