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