UNPKG

picorpc

Version:

A tiny RPC library and spec, inspired by JSON-RPC 2.0 and tRPC.

4 lines (3 loc) 215 B
import type { IProcedures, IHttpServerOptions, IHttpServer } from '../types'; declare const createHttpServer: <T extends IProcedures>(options: IHttpServerOptions<T>) => IHttpServer; export default createHttpServer;