A GRPC client built using grpcurl.
- grpcurl on system path.
- plenary.nvim
use {
"hudclark/grpc-nvim",
requires = { "nvim-lua/plenary.nvim" }
}
Place your cursor over a valid GRPC request, then :Grpc
. Results will be shown in a split.
Valid GRPC requests are blocks that start with the pattern ^grpc
. Some examples are as follows:
// Describe the server via reflection
grpc localhost:50051 list
// Send a request over plaintext.
grpc --plaintext localhost:50051 helloworld.Greeter/SayHello
{
"name": "Hudclark"
}