UNPKG

moleculer-api

Version:

A dynamic API Gateway for MoleculerJS which updates REST endpoints and aggregated GraphQL schema, access control policy for each action calls from metadata of remote services schema without restart or deployment.

5 lines (4 loc) 227 B
/// <reference types="node" /> import { Duplex, DuplexOptions } from "stream"; import ws from "ws"; export declare function createStreamFromWebSocket(socket: ws, opts?: Omit<DuplexOptions, "read" | "write" | "final">): Duplex;