19 lines
451 B
TypeScript
Raw Normal View History

2023-10-10 22:00:26 +02:00
import { Polling as XHR } from "./polling";
import { WebSocket } from "./websocket";
2024-08-24 20:48:14 +02:00
import { WebTransport } from "./webtransport";
2023-10-10 22:00:26 +02:00
declare const _default: {
polling: typeof polling;
websocket: typeof WebSocket;
2024-08-24 20:48:14 +02:00
webtransport: typeof WebTransport;
2023-10-10 22:00:26 +02:00
};
export default _default;
/**
* Polling polymorphic constructor.
*
* @api private
*/
declare function polling(req: any): XHR;
declare namespace polling {
var upgradesTo: string[];
}