elearning/Frontend-Learner/node_modules/crossws/dist/adapters/sse.d.ts

14 lines
409 B
TypeScript
Raw Normal View History

2026-01-13 10:46:40 +07:00
import { Adapter, AdapterInstance, AdapterOptions } from '../index.js';
import '../shared/crossws.BQXMA5bH.js';
interface SSEAdapter extends AdapterInstance {
fetch(req: Request): Promise<Response>;
}
interface SSEOptions extends AdapterOptions {
bidir?: boolean;
}
declare const sseAdapter: Adapter<SSEAdapter, SSEOptions>;
export { sseAdapter as default };
export type { SSEAdapter, SSEOptions };