tower-http
tower-http copied to clipboard
Add an example for a Client
Feature Request
There's some nice setup for a Client over in https://github.com/EmbarkStudios/cloud-dns . Would you be amenable to a port into this repo as an example to make this approach more discoverable?
Motivation
Trying to use a Service with TraceLayer and running into excessive generic typing, until discovering the approach in the linked repo. An example here would have saved some time.
Proposal
Alternatives
Are you happy with that approach to make it more "official" by putting in this repo?
We already have a small example client here. The main thing missing is boxing it so its easier to name the type, without having to spell out the large type. Thats probably what you ran into.
But I'm fine with adding a dedicated example as well!