diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-11-14 17:36:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-14 17:36:34 -0800 |
commit | 3c8d2bde685d015721b1c0fd6f2a3ae54c156583 (patch) | |
tree | 0f770fccbe23bd5a410612678176b449651cd8ad /js/headers.ts | |
parent | 765863e87aea725301d5f528b6de15bfa6022d46 (diff) |
Support request method and headers in fetch() (#1188)
Adds a general HttpHeader flatbuffer message for serializing requests
and responses.
Diffstat (limited to 'js/headers.ts')
-rw-r--r-- | js/headers.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/js/headers.ts b/js/headers.ts index 6892b0ef2..1b47ac7d3 100644 --- a/js/headers.ts +++ b/js/headers.ts @@ -79,7 +79,8 @@ class HeadersBase { // @internal // tslint:disable-next-line:variable-name -export const Headers = DomIterableMixin<string, string, typeof HeadersBase>( - HeadersBase, - headerMap -); +export class Headers extends DomIterableMixin< + string, + string, + typeof HeadersBase +>(HeadersBase, headerMap) {} |