Sha256: 302193abcaf1934041cf2ccc432a417811a4ea8ef76cac2c1a7c98a53996978a
Contents?: true
Size: 695 Bytes
Versions: 7
Compression:
Stored size: 695 Bytes
Contents
# frozen_string_literal: true require 'timeout' require 'grpc_kit/errors' require 'grpc_kit/status_codes' module GrpcKit module Rpcs class ClientRpc # @return [GrpcKit::MethodConfig] attr_reader :config # @param config [GrpcKit::MethodConfig] def initialize(config) @config = config end def invoke(stream, request, metadata: {}, timeout: nil); end end class ServerRpc # @param handler [GrpcKit::GRPC::GenericService] # @param config [GrpcKit::MethodConfig] def initialize(handler, config) @handler = handler @config = config end def invoke(stream, metadata: {}); end end end end
Version data entries
7 entries across 7 versions & 1 rubygems