Files
antrean-anjungan/examples/nuxt3-websocket-client/node_modules/untun/dist/index.d.mts
T
2025-09-18 19:01:22 +07:00

16 lines
419 B
TypeScript

interface TunnelOptions {
url?: string;
port?: number | string;
hostname?: string;
protocol?: "http" | "https";
verifyTLS?: boolean;
acceptCloudflareNotice?: boolean;
}
interface Tunnel {
getURL: () => Promise<string>;
close: () => Promise<void>;
}
declare function startTunnel(opts: TunnelOptions): Promise<undefined | Tunnel>;
export { type Tunnel, type TunnelOptions, startTunnel };