ttrpc
ttrpc copied to clipboard
Add `WithStreamServerInterceptor` and `WithStreamClientInterceptor`
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.