@yeskiy/federation-with-subscriptions
Version:
Apollo Federation with subscriptions support
16 lines (15 loc) • 539 B
TypeScript
/// <reference types="node" />
/// <reference types="ws" />
import http from "http";
import { CreateExpressMicroserviceParams } from "./create-express-microservice";
declare type CreateMicroserviceParams<TContext = {}> = CreateExpressMicroserviceParams<TContext> & {
port: number;
host?: string;
path?: string;
};
export declare const createMicroservice: (params: Omit<CreateMicroserviceParams, "plugins">) => Promise<{
url: string;
server: http.Server;
wsServer: import("ws").Server;
}>;
export {};