UNPKG

@grpc/grpc-js

Version:

gRPC Library for Node - pure JS implementation

12 lines (11 loc) 447 B
import { ServiceDefinition } from './make-client'; import { Server, UntypedServiceImplementation } from './server'; interface GetServiceDefinition { (): ServiceDefinition; } interface GetHandlers { (): UntypedServiceImplementation; } export declare function registerAdminService(getServiceDefinition: GetServiceDefinition, getHandlers: GetHandlers): void; export declare function addAdminServicesToServer(server: Server): void; export {};