module GRPC

Nested Classes and Modules

class Client

Represents a client for making gRPC calls over HTTP/2.

class Dispatcher

Dispatches gRPC requests to registered services. Handles routing based on service name from the request path.

class Error

Represents a generic async gRPC error.

class DeadlineExceededError

Raised when a gRPC call exceeds its deadline.

class ResponseError

Raised when an HTTP response does not conform to gRPC. Preserves the buffered response for inspection.

class RemoteError

Represents an error that originated from a remote gRPC server. Used as the cause of Protocol::GRPC::Error when the client receives a non-OK status. The message and optional backtrace are extracted from response metadata.

class Service

Represents a concrete service implementation that uses an Interface. Subclass this and implement the RPC methods defined in the interface. Services are registered with Dispatcher for routing.

class Stub

Represents a client stub that provides method-based access to RPC calls. Created by calling Async::GRPC::Client#stub.