docs(Http): add docs for Http lib

Fixes #2442
This commit is contained in:
Jeff Cross
2015-06-09 15:18:57 -07:00
parent e68e69e7e5
commit 5b5ffe75d0
18 changed files with 558 additions and 218 deletions
+5 -3
View File
@@ -14,9 +14,11 @@ import {
ListWrapper
} from 'angular2/src/facade/collection';
// (@jeffbcross): This is implemented mostly to spec, except that the entries method has been
// removed because it doesn't exist in dart, and it doesn't seem worth adding it to the facade.
/**
* Polyfill for [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers), as
* specified in the [Fetch Spec](https://fetch.spec.whatwg.org/#headers-class). The only known
* difference from the spec is the lack of an `entries` method.
*/
export class Headers {
_headersMap: Map<string, List<string>>;
constructor(headers?: Headers | Object) {