bunnel-server
Version:
WebSocket reverse tunnel
12 lines (11 loc) • 466 B
TypeScript
import type { Server } from "bun";
export declare class LocalProxyServer {
/**
* A proxy server that proxies any web traffic from an insecure (HTTP/WS) local port to a secure (HTTPS/WSS) local port.
* The purpose is for browsers to be able to connect to the local proxy without getting self-signed SSL warnings.
*/
private securePort;
private insecurePort;
constructor(securePort: number, insecurePort: number);
start(): Server;
}