Package io.quarkus.grpc.runtime.devui
Class GrpcJsonRPCService
java.lang.Object
io.quarkus.grpc.runtime.devui.GrpcJsonRPCService
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
FieldsModifier and TypeFieldDescription(package private) GrpcConfiguration(package private) GrpcServices(package private) HttpBuildTimeConfig(package private) HttpConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.json.JsonArrayvoidinit()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 Details
-
httpConfiguration
-
httpBuildTimeConfig
-
grpcConfiguration
-
grpcServices
-
-
Constructor Details
-
GrpcJsonRPCService
public GrpcJsonRPCService()
-
-
Method Details
-
init
@PostConstruct public void init() -
getServices
public io.vertx.core.json.JsonArray getServices() -
testService
-
streamService
-