ttrpc icon indicating copy to clipboard operation
ttrpc copied to clipboard

Add `WithStreamServerInterceptor` and `WithStreamClientInterceptor`

Open katexochen opened this issue 1 year ago • 0 comments

The unary calls for adding interceptors already exist:

WithUnaryServerInterceptor WithUnaryClientInterceptor

Interfaces for stream interceptors exists as well:

StreamServerInterceptor StreamClientInterceptor

But there is no WithStream..Interceptor option to add them to a client or server. Would be great if this could be added so such interceptors can be used for streaming calls.

katexochen avatar Jul 14 '23 14:07 katexochen