mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
15 lines
504 B
Text
15 lines
504 B
Text
#import <FileAPI/Blob.idl>
|
|
#import <Streams/ReadableStream.idl>
|
|
#import <XHR/FormData.idl>
|
|
|
|
// 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();
|
|
};
|