feat: init
This commit is contained in:
15
node_modules/untun/dist/index.d.ts
generated
vendored
Normal file
15
node_modules/untun/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user