You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
493 B
17 lines
493 B
import { Polling as XHR } from "./polling"; |
|
import { WebSocket } from "./websocket"; |
|
import { WebTransport } from "./webtransport"; |
|
import type { EngineRequest } from "../transport"; |
|
declare const _default: { |
|
polling: typeof polling; |
|
websocket: typeof WebSocket; |
|
webtransport: typeof WebTransport; |
|
}; |
|
export default _default; |
|
/** |
|
* Polling polymorphic constructor. |
|
*/ |
|
declare function polling(req: EngineRequest): XHR; |
|
declare namespace polling { |
|
var upgradesTo: string[]; |
|
}
|
|
|