xiaokuaisong-xiaochengxu/uniapp04/node_modules/engine.io-client/build/cjs/transports/polling-xhr.node.d.ts

12 lines
385 B
TypeScript
Raw Normal View History

2025-04-11 06:42:29 +00:00
import { BaseXHR, Request } from "./polling-xhr.js";
/**
* HTTP long-polling based on the `XMLHttpRequest` object provided by the `xmlhttprequest-ssl` package.
*
* Usage: Node.js, Deno (compat), Bun (compat)
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest
*/
export declare class XHR extends BaseXHR {
request(opts?: Record<string, any>): Request;
}