diff --git a/docs/grpc/ruby.md b/docs/grpc/ruby.md index 0a6dcfc2..5725707a 100644 --- a/docs/grpc/ruby.md +++ b/docs/grpc/ruby.md @@ -146,6 +146,11 @@ class MacaroonInterceptor < GRPC::ClientInterceptor metadata['macaroon'] = macaroon yield end + + def server_streamer(request:, call:, method:, metadata:) + metadata['macaroon'] = macaroon + yield + end end ```