Package io.quarkus.grpc.runtime.devui
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 Summary
Fields Modifier and Type Field Description (package private) GrpcConfigurationgrpcConfiguration(package private) GrpcServicesgrpcServices(package private) HttpConfigurationhttpConfiguration
-
Constructor Summary
Constructors Constructor Description GrpcJsonRPCService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.json.JsonArraygetServices()voidinit()io.smallrye.mutiny.Multi<String>streamService(String serviceName, String methodName, String methodType, String content)io.smallrye.mutiny.Uni<String>testService(String serviceName, String methodName, String methodType, String content)
-
-
-
Field Detail
-
httpConfiguration
@Inject HttpConfiguration httpConfiguration
-
grpcConfiguration
@Inject GrpcConfiguration grpcConfiguration
-
grpcServices
@Inject GrpcServices grpcServices
-
-