All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.web.fetch.Body Maven / Gradle / Ivy

package js.web.fetch;

import js.lang.Any;
import js.lang.Promise;
import js.lang.StringPromise;
import js.util.buffers.ArrayBuffer;
import js.util.buffers.Uint8Array;
import js.web.dom.Blob;
import js.web.dom.FormData;
import js.web.streams.ReadableStream;
import org.teavm.jso.JSProperty;


public interface Body extends Any {
    @JSProperty
    ReadableStream getBody();

    @JSProperty
    boolean isBodyUsed();

    Promise arrayBuffer();

    Promise blob();

    Promise formData();

    Promise json();

    StringPromise text();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy