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.
12 lines (11 loc) • 503 B
TypeScript
import { RecursivePartial } from "../../interface";
import { ServerProtocol, ServerProtocolProps } from "./protocol";
export declare type ServerHTTP2ProtocolOptions = {};
export declare class ServerHTTP2Protocol extends ServerProtocol {
static readonly key = "http2";
static readonly autoLoadOptions = false;
private readonly opts;
constructor(props: ServerProtocolProps, opts?: RecursivePartial<ServerHTTP2ProtocolOptions>);
start(): Promise<string[]>;
stop(): Promise<void>;
}