libresound_js_libs
    Preparing search index...

    Class Runtime

    A class that not only implments (imitates) parts of browser/nodejs API

    Index

    Constructors

    Properties

    _mapper: Mapper = ...
    fs: Fs = ...
    logger: Logger = ...

    Methods

    • Parameters

      • resp: any

      Returns {
          bytes: () => Promise<any>;
          cookies: any;
          headers: { get: (n: string) => any; has: (n: string) => boolean };
          json: () => Promise<any>;
          location: any;
          ok: any;
          status: any;
          text: () => Promise<string>;
      }

    • Parameters

      • url: string
      • options: any

      Returns Promise<
          {
              bytes: () => Promise<any>;
              cookies: any;
              headers: { get: (n: string) => any; has: (n: string) => boolean };
              json: () => Promise<any>;
              location: any;
              ok: any;
              status: any;
              text: () => Promise<string>;
          },
      >

    • Parameters

      • url: string
      • options: {} = {}

      Returns Promise<
          {
              bytes: () => Promise<any>;
              cookies: any;
              headers: { get: (n: string) => any; has: (n: string) => boolean };
              json: () => Promise<any>;
              location: any;
              ok: any;
              status: any;
              text: () => Promise<string>;
          },
      >

    • Parameters

      • recieved: number
      • contentLength: number

      Returns void