Interface GrpcIoServer

    • Method Detail

      • server

        static GrpcIoServer server​(Vertx vertx)
        Create a blank gRPC server with default options.
        Returns:
        the created server
      • server

        static GrpcIoServer server​(Vertx vertx,
                                   GrpcServerOptions options)
        Create a blank gRPC server with specified options.
        Parameters:
        options - the gRPC server options
        Returns:
        the created server
      • callHandler

        <Req,​Resp> GrpcIoServer callHandler​(MethodDescriptor<Req,​Resp> methodDesc,
                                                  Handler<GrpcServerRequest<Req,​Resp>> handler)
        Set a service method call handler that handles any call made to the server for the MethodDescriptor service method.
        Parameters:
        handler - the service method call handler
        Returns:
        a reference to this, so the API can be used fluently