Sha256: 76d2c585193f97aa699e8f7ba4f3dcb37ac82c2b982c22c3e5ee934884b4bcea
Contents?: true
Size: 527 Bytes
Versions: 5
Compression:
Stored size: 527 Bytes
Contents
# frozen_string_literal: true require 'grpc_kit/interceptors' module GrpcKit module Interceptors::Client class ClientStreamer < Streaming private def invoke(interceptor, call, metadata) # We don't need a `:requests` parameter but, # it shuoldn't remove from paramters due to having a compatibility of grpc gem. interceptor.client_streamer(requests: nil, call: call, method: call.method, metadata: metadata) do yield(call, metadata) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems