async-http-client icon indicating copy to clipboard operation
async-http-client copied to clipboard

Add functionality to add "Debug handlers" to the channel pipelines

Open Lukasa opened this issue 3 years ago • 1 comments

A useful trick we learned in grpc-swift is that it can be handy to allow users to insert a "debug handler" (or several) into each channel pipeline. This should usually be given the option to insert itself anywhere in the pipeline (meaning we should probably name our handlers), and can enable all kinds of useful observability and testing. We may need to be careful for HTTP/2, and we should consider @glbrntt's grpc experience here.

Lukasa avatar Jun 16 '22 16:06 Lukasa

Yes please, I use that functionality pretty much on every gRPC server/client I've ever created :).

weissi avatar Aug 03 '22 12:08 weissi