XMLHttpRequest
From Web Computing Documentation
(Difference between revisions)
Line 8: | Line 8: | ||
==Class overview== |
==Class overview== |
||
− | The class enables HaXe interactions with the browser's [http://www.w3.org/TR/XMLHttpRequest2/ XMLHttpRequest] object. |
+ | The class enables HaXe interactions with the browser's [http://www.w3.org/TR/XMLHttpRequest/ XMLHttpRequest] object. |
==Public variables== |
==Public variables== |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''readyState''' : Int |
||
+ | </div> |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''responseText''' : String |
||
+ | </div> |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''status''' : Int |
||
+ | </div> |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''statusText''' : String |
||
+ | </div> |
||
+ | |||
+ | ==Public functions== |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''new''' () |
||
+ | </div> |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''abort''' () |
||
+ | </div> |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''getAllResponseHeaders''' () : String |
||
+ | </div> |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''getResponseHeader''' (name : String) : String |
||
+ | </div> |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''setRequestHeader''' (name : String, value : String) |
||
+ | </div> |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''open''' (method : String, url : String, ?async : Bool, ?user : String, ?password : String) |
||
+ | </div> |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''send''' (content : String) |
||
+ | </div> |
||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''send''' (?content : String) |
||
+ | </div> |
Latest revision as of 16:36, 17 August 2011
extern class XMLHttpRequest
- web2grid
- web2grid.js
- web2grid.js.XMLHttpRequest
- web2grid.js
[edit] Class overview
The class enables HaXe interactions with the browser's XMLHttpRequest object.
[edit] Public variables
readyState : Int
responseText : String
status : Int
statusText : String
[edit] Public functions
new ()
abort ()
getAllResponseHeaders () : String
getResponseHeader (name : String) : String
setRequestHeader (name : String, value : String)
open (method : String, url : String, ?async : Bool, ?user : String, ?password : String)
send (content : String)
send (?content : String)