Class GrpcJsonRPCService


  • public class GrpcJsonRPCService
    extends Object
    We should consider to use gRPC directly from the Javascript client. At the moment we send the data over json-rpc (web socket) to just create a Java gRPC client that calls the gRPC server method. We can just call the server method directly from Javascript. See @grpc/grpc-js
    • Constructor Detail

      • GrpcJsonRPCService

        public GrpcJsonRPCService()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • getServices

        public io.vertx.core.json.JsonArray getServices()
      • streamService

        public io.smallrye.mutiny.Multi<String> streamService​(String serviceName,
                                                              String methodName,
                                                              String methodType,
                                                              String content)