INNER CODE UNIT · TypeScript

HttpReader

gildas-lormeau/zip.js · index.d.ts:1013

export class HttpReader extends Reader<URLString> {
  /**
   * The URL of the data, as passed to the constructor.
   */
  url: URLString | URL;
  /**
   * Creates the {@link HttpReader} instance
   *
   * @param url The URL of the data.
   * @param options The options.
   */
  constructor(url: URLString | URL, options?: HttpOptions);
}

/**
 * Represents a {@link Reader} instance used to fetch data from servers returning `Accept-Ranges` headers.
 */
export class HttpRangeReader extends HttpReader {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…