web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
697 B

  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 module:workbox-streams
  15. */
  16. declare function createHeaders(headersInit?: {}): Headers;
  17. export { createHeaders };