UNPKG

385 BTypeScriptView Raw
1import { 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 */
9export declare class XHR extends BaseXHR {
10 request(opts?: Record<string, any>): Request;
11}