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:
10
gulpfile.js
10
gulpfile.js
@ -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() {
|
||||
|
Reference in New Issue
Block a user