-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XMLHttpRequest should provided a futures based API #4377
Comments
see also jQuery's ajax method |
Also, see angularjs $resource (example is on their homepage by "form validation") var Project = $resource('https://api.mongolab.com/api/1/databases' + |
See the http package for now: http://pub.dartlang.org/packages/http cc @munificent. |
Unfortunately, the http package doesn't work browser-side yet. It's one of the many packages that's stuck waiting on platform-specific configuration. As soon as that's in the language, we do plan to support it in the browser as well as using dart:io. |
See these links for similar thing in Closure:
https://groups.google.com/forum/#!msg/closure-library-discuss/aHjKn7K6O9Q/kArNBi1NvDAJ
http://code.google.com/p/closure-library/source/browse/trunk/closure/goog/labs/net/xhr.js
We have one helper: "new XMLHttpRequest.get" that provides a callback API, but we should probably do something more substantial.
The text was updated successfully, but these errors were encountered: