13 lines
355 B
TypeScript
Raw Normal View History

2023-10-10 22:00:26 +02:00
import { Polling } from "./polling";
2025-01-25 10:46:42 +01:00
import type { RawData } from "engine.io-parser";
2023-10-10 22:00:26 +02:00
export declare class JSONP extends Polling {
private readonly head;
private readonly foot;
/**
* JSON-P polling transport.
*/
constructor(req: any);
2025-01-25 10:46:42 +01:00
onData(data: RawData): void;
2023-10-10 22:00:26 +02:00
doWrite(data: any, options: any, callback: any): void;
}