|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
690 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | import '../_version.js';
|
|---|
| 2 | /**
|
|---|
| 3 | * This is a utility method that determines whether the current browser supports
|
|---|
| 4 | * the features required to create streamed responses. Currently, it checks if
|
|---|
| 5 | * [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
|
|---|
| 6 | * is available.
|
|---|
| 7 | *
|
|---|
| 8 | * @private
|
|---|
| 9 | * @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
|---|
| 10 | * `'text/html'` will be used by default.
|
|---|
| 11 | * @return {boolean} `true`, if the current browser meets the requirements for
|
|---|
| 12 | * streaming responses, and `false` otherwise.
|
|---|
| 13 | *
|
|---|
| 14 | * @memberof workbox-streams
|
|---|
| 15 | */
|
|---|
| 16 | declare function createHeaders(headersInit?: {}): Headers;
|
|---|
| 17 | export { createHeaders };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.