source: frontend/node_modules/workbox-streams/utils/createHeaders.d.ts

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
RevLine 
[9af201e]1import '../_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 */
16declare function createHeaders(headersInit?: {}): Headers;
17export { createHeaders };
Note: See TracBrowser for help on using the repository browser.