Sha256: 98fa0b797889a5f544cb597e0c7f30db0f2440738e29d2d1a11ca8046d9b2a1d
Contents?: true
Size: 468 Bytes
Versions: 6
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true require 'grpc_kit/interceptors' module GrpcKit module Interceptors::Server class ClientStreamer < Streaming # @param interceptor [GrpcKit::GRPC::ServerInterceptor] # @param call [GrpcKit::Calls::Client::ClientStreamer] def invoke(interceptor, call) interceptor.client_streamer(call: call, method: call.method) do |new_call = nil| yield(new_call || call) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems