17 lines
365 B
TypeScript
Raw Normal View History

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