Protocol::GRPC

Protocol::GRPC

Provides abstractions for working with the gRPC protocol over HTTP/2.

Development Status

Features

protocol-grpc provides protocol-level abstractions for building gRPC applications:

Following the same pattern as protocol-http, this gem provides only protocol abstractions. Client and server implementations are built on top in separate gems (e.g., async-grpc).

Usage

Please browse the source code index or refer to the guides below.

Getting Started

This guide explains how to use protocol-grpc for building abstract gRPC interfaces.

Releases

Please browse the releases for more details.

v0.4.0

  • Add RPC#name.

v0.3.0

  • Breaking: Protocol::GRPC::Call now takes a response object parameter instead of separate response_headers.
  • Breaking: Removed Call#response_headers method. Use call.response.headers directly.
  • Added RPC#streaming? method to check if an RPC is streaming.

v0.2.0

  • RPC#method is always defined (snake case).

v0.1.0

  • Initial design.

See Also

Contributing

We welcome contributions to this project.

  1. Fork it.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin my-new-feature).
  5. Create new Pull Request.

Developer Certificate of Origin

In order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.

Community Guidelines

This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.