UNPKG

@emmveqz/grpc-node-web

Version:

Exactly as @grpc/grpc-js but with web browser CORS capability

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 {};