Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an example client to the reflection example #1600

Open
grottohub opened this issue Jan 12, 2024 · 0 comments · May be fixed by #1601
Open

Add an example client to the reflection example #1600

grottohub opened this issue Jan 12, 2024 · 0 comments · May be fixed by #1601

Comments

@grottohub
Copy link

Feature Request

Crates

examples

Motivation

As a Rust newbie, it took a little bit of time to grok how to set up the ServerReflectionClient that's generated in tonic-reflection, so having an example would be nice.

Proposal

Add a simple example for using the client (I have one ready for a PR).

Alternatives

I don't see a downside to having it documented, but definitely open to changing the example I came up with.

grottohub added a commit to grottohub/tonic that referenced this issue Jan 12, 2024
This adds an example usage of the `ServerReflectionClient` using
a `ListServices` request.

Fixes: hyperium#1600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant