This document will show you how to build a gRPC Web service with Vert.x.
You will build a gRPC Greeter client/server application, using the gRPC Web protocol.
On the server side, you will implement a Vert.x gRPC server service that:
-
implements a gRPC server stub
-
configures an HTTP server replying to both gRPC Web and static file requests
On the client side, you will create a browser page that uses the gRPC Web Javascript client.
The gRPC Greeter service consists in a single SayHello rpc method. The HelloRequest message contains the name sent by the client. The HelloReply message contains the greeting generated by the server.