UNPKG

fsf

Version:

A typesafe websocket RPC library which thins the borders between clients and servers.

6 lines (5 loc) 207 B
/// <reference types="node" /> import type { Server as http } from "https"; export default function Server(endpoint: number | http | undefined, api: { [key: string]: (...params: any[]) => any; }): void;