Method: Authzed::GrpcUtil::BearerToken#server_streamer
- Defined in:
- lib/grpcutil/bearer_token.rb
#server_streamer(request: nil, call: nil, method: nil, metadata: nil) ⇒ Object
Intercept a server streaming call
50 51 52 53 |
# File 'lib/grpcutil/bearer_token.rb', line 50 def server_streamer(request: nil, call: nil, method: nil, metadata: nil) [AUTHORIZATION_HEADER] = bearer_token_header yield end |