insite-ws-transfers
Version:
File transfers over WebSockets for inSite
15 lines • 948 B
TypeScript
import type { WS } from "insite-ws/client";
import type { WSServerClient } from "insite-ws/server";
import { IncomingTransfer } from "../IncomingTransfer";
import { IncomingTransport } from "../IncomingTransport";
import type { IncomingTransferTypes } from "../types";
import type { BrowserTransferTypes } from "./types";
export type { IncomingTransportOptions } from "../types";
declare class BrowserIncomingTransfer<WSORWSSC extends WS | WSServerClient = WS> extends IncomingTransfer<WSORWSSC> {
static types: IncomingTransferTypes<BrowserIncomingTransfer<WS>, BrowserTransferTypes>;
}
declare class BrowserIncomingTransport<WSORWSSC extends WS = WS> extends IncomingTransport<WSORWSSC, BrowserIncomingTransfer<WSORWSSC>, BrowserTransferTypes> {
static Transfer: typeof BrowserIncomingTransfer;
}
export { BrowserIncomingTransfer as IncomingTransfer, BrowserIncomingTransport as IncomingTransport };
//# sourceMappingURL=incoming.d.ts.map