UNPKG

webssh2-server

Version:

A Websocket to SSH2 gateway using xterm.js, socket.io, ssh2

6 lines (5 loc) 295 B
import type { Application } from 'express'; import type { Server as HttpServer } from 'node:http'; import type { Config } from './types/config.js'; export declare function createServer(app: Application): HttpServer; export declare function startServer(server: HttpServer, config: Config): void;