mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:42:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			459 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			459 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<FormData> formData();
 | |
|     [NewObject] Promise<any> json();
 | |
|     [NewObject] Promise<USVString> text();
 | |
| };
 | 
