com.github.xpenatan.gdx.backends.teavm.dom.XMLHttpRequestWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backend-teavm Show documentation
Show all versions of backend-teavm Show documentation
Tool to generate libgdx to javascript using teaVM
package com.github.xpenatan.gdx.backends.teavm.dom;
/**
* @author xpenatan
*/
public interface XMLHttpRequestWrapper extends XMLHttpRequestEventTargetWrapper {
public static final short UNSENT = 0;
public static final short OPENED = 1;
public static final short HEADERS_RECEIVED = 2;
public static final short LOADING = 3;
public static final short DONE = 4;
public void setOnreadystatechange(EventHandlerWrapper onreadystatechange);
public void open(String method, String url);
public void open(String method, String url, boolean async);
public void setRequestHeader(String header, String value);
public void setResponseType(String type);
public void send();
public short getReadyState();
public short getStatus();
public NodeWrapper getResponse();
public String getResponseText();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy