feat(http): add basic http service

This implementation only works in JavaScript, while the Observable transpilation
story gets worked out. Right now, the service just makes a simple request,
and returns an Observable of Response.

Additional functionality will be captured in separate issues.

Fixes #2028
This commit is contained in:
Jeff Cross
2015-04-28 23:07:55 -07:00
parent 363b9ba415
commit 21568106b1
35 changed files with 1054 additions and 2 deletions

View File

@ -845,6 +845,16 @@ gulp.task('!build/change_detect.dart', function(done) {
proc.stdout.pipe(dartStream);
});
// ------------
// additional tasks for building examples
gulp.task('build.http.example', function() {
//Copy over people.json used in http example
return gulp.src('modules/examples/src/http/people.json')
.pipe(gulp.dest(CONFIG.dest.js.prod.es5 + '/examples/src/http/'))
.pipe(gulp.dest(CONFIG.dest.js.dev.es5 + '/examples/src/http/'))
.pipe(gulp.dest(CONFIG.dest.js.dart2js + '/examples/src/http/'));
});
// ------------
// angular material testing rules
gulp.task('build.css.material', function() {