hudclark / grpc-nvim

Grpc Client for Neovim
MIT License
31 stars 1 forks source link

Does it support "-rpc-header" params? #3

Closed jiu-chen closed 1 year ago

hudclark commented 1 year ago

Hi @jiu-chen.

Yes, this project supports passing headers in the following format: grpc -rpc-header "foo: bar" localhost:50051 helloworld.Greeter/SayHello

Note that the header value must be quoted. This project could be improved to better handle arguments with spaces, but for now, a workaround is to surround them in quotes.