Class GrpcJsonRPCService

java.lang.Object
io.quarkus.grpc.runtime.devui.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
  • Field Details

  • Constructor Details

    • GrpcJsonRPCService

      public GrpcJsonRPCService()
  • Method Details

    • init

      @PostConstruct public void init()
    • getServices

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

      public io.smallrye.mutiny.Uni<String> testService(String serviceName, String methodName, String methodType, String content)
    • streamService

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