OLD | NEW |
1 | 1 |
2 class _XMLHttpRequestJs extends _DOMTypeJs implements XMLHttpRequest native "*XM
LHttpRequest" { | 2 class _XMLHttpRequestJs extends _DOMTypeJs implements XMLHttpRequest native "*XM
LHttpRequest" { |
3 XMLHttpRequest() native; | |
4 | |
5 | 3 |
6 static final int DONE = 4; | 4 static final int DONE = 4; |
7 | 5 |
8 static final int HEADERS_RECEIVED = 2; | 6 static final int HEADERS_RECEIVED = 2; |
9 | 7 |
10 static final int LOADING = 3; | 8 static final int LOADING = 3; |
11 | 9 |
12 static final int OPENED = 1; | 10 static final int OPENED = 1; |
13 | 11 |
14 static final int UNSENT = 0; | 12 static final int UNSENT = 0; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 void open(String method, String url, [bool async = null, String user = null, S
tring password = null]) native; | 46 void open(String method, String url, [bool async = null, String user = null, S
tring password = null]) native; |
49 | 47 |
50 void overrideMimeType(String override) native; | 48 void overrideMimeType(String override) native; |
51 | 49 |
52 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 50 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
53 | 51 |
54 void send([var data = null]) native; | 52 void send([var data = null]) native; |
55 | 53 |
56 void setRequestHeader(String header, String value) native; | 54 void setRequestHeader(String header, String value) native; |
57 } | 55 } |
OLD | NEW |