UNPKG

webssh2-server

Version:

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

9 lines (8 loc) 304 B
import type { RequestHandler } from 'express'; import type { Config } from '../types/config.js'; /** * Create CSRF protection middleware * @param config - Application configuration * @returns Express middleware handler */ export declare function createCSRFMiddleware(config: Config): RequestHandler;