uniapp,h5

polling-xhr.node.d.ts 385B

123456789101112
  1. import { BaseXHR, Request } from "./polling-xhr.js";
  2. /**
  3. * HTTP long-polling based on the `XMLHttpRequest` object provided by the `xmlhttprequest-ssl` package.
  4. *
  5. * Usage: Node.js, Deno (compat), Bun (compat)
  6. *
  7. * @see https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest
  8. */
  9. export declare class XHR extends BaseXHR {
  10. request(opts?: Record<string, any>): Request;
  11. }