Sha256: ab18520371a957f98e90914907e8d026dd23737b9b9750a2b9ba952cb6a979bb
Contents?: true
Size: 602 Bytes
Versions: 4
Compression:
Stored size: 602 Bytes
Contents
# frozen_string_literal: true require 'grpc_kit/rpcs' require 'grpc_kit/calls/client_client_streamer' module GrpcKit module Rpcs::Client class ClientStreamer < GrpcKit::Rpcs::ClientRpc def invoke(stream, _request, metadata: {}, timeout: nil) call = GrpcKit::Calls::Client::ClientStreamer.new( metadata: metadata, config: @config, timeout: timeout, stream: stream, ) if @config.interceptor @config.interceptor.intercept(call, metadata) { |s| s } else call end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems