17 lines
432 B
TypeScript
Raw Normal View History

2023-10-10 22:00:26 +02:00
import { Polling as XHR } from "./polling";
import { WebSocket } from "./websocket";
2025-01-25 10:46:42 +01:00
import { WebTransport } from "./webtransport";
2023-10-10 22:00:26 +02:00
declare const _default: {
polling: typeof polling;
websocket: typeof WebSocket;
2025-01-25 10:46:42 +01:00
webtransport: typeof WebTransport;
2023-10-10 22:00:26 +02:00
};
export default _default;
/**
* Polling polymorphic constructor.
*/
declare function polling(req: any): XHR;
declare namespace polling {
var upgradesTo: string[];
}