Sha256: 9b03d434140ecbc081ac55cd66a557315f356c31618d5c0802a3860732537fbf
Contents?: true
Size: 508 Bytes
Versions: 5
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true require 'timeout' require 'grpc_kit/errors' require 'grpc_kit/status_codes' module GrpcKit module Rpcs class ClientRpc attr_reader :config def initialize(config) @config = config end def invoke(stream, request, metadata: {}, timeout: nil); end end class ServerRpc def initialize(handler, config) @handler = handler @config = config end def invoke(stream, metadata: {}); end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
grpc_kit-0.1.8 | lib/grpc_kit/rpcs.rb |
grpc_kit-0.1.7 | lib/grpc_kit/rpcs.rb |
grpc_kit-0.1.6 | lib/grpc_kit/rpcs.rb |
grpc_kit-0.1.5 | lib/grpc_kit/rpcs.rb |
grpc_kit-0.1.4 | lib/grpc_kit/rpcs.rb |