ncteisen 8f3f2f4bd8 Fix ruby:{python,csharp,csharpcoreclr}_server behavior 9 ani în urmă
..
grpc 174aa915ba change client code to use specific exceptions and throw bad status if 9 ani în urmă
src ef4ceda6fd Add advanced interop tests for Ruby client 9 ani în urmă
test 8f3f2f4bd8 Fix ruby:{python,csharp,csharpcoreclr}_server behavior 9 ani în urmă
README.md aea13f1c85 global replace health check proto v1alpha to v1 10 ani în urmă
generate_proto_ruby.sh eddcd85a72 Merge pull request #6010 from vjpai/i_know_rubies 10 ani în urmă

README.md

Protocol Buffers

This folder contains protocol buffers provided with gRPC ruby, and the generated code to them.

PREREQUISITES

The code is is generated using the protoc (> 3.0.0.alpha.1) and the grpc_ruby_plugin. These must be installed to regenerate the IDL defined classes, but that's not necessary just to use them.

health_check/v1

This package defines the surface of a simple health check service that gRPC servers may choose to implement, and provides an implementation for it. To re-generate the surface.

$ # (from this directory)
$ protoc -I ../../proto ../../proto/grpc/health/v1/health.proto \
    --grpc_out=. \
    --ruby_out=. \
    --plugin=protoc-gen-grpc=`which grpc_ruby_plugin`

test

This package defines the surface of the gRPC interop test service and client To re-generate the surface, it's necessary to have checked-out versions of the grpc interop test proto, e.g, by having the full gRPC repository. E.g,

$ # (from this directory within the grpc repo)
$ protoc -I../../.. ../../../test/proto/{messages,test,empty}.proto \
    --grpc_out=. \
    --ruby_out=. \
    --plugin=protoc-gen-grpc=`which grpc_ruby_plugin`