# Package com.codename1.io.grpc

package com.codename1.io.grpc

gRPC-Web client runtime. `GrpcWeb` sends framed protobuf requests and parses the trailer-delimited response; `ProtoCodec` is the per-message encoder/decoder contract; `ProtoCodecs` is the runtime registry the build-time-generated codecs populate; `ProtoWriter` / `ProtoReader` are the low-level wire helpers; `GrpcResponse` is the typed result wrapper; `GrpcClients` is the per-`@GrpcClient` factory registry.

End-to-end usage is documented on `com.codename1.annotations.grpc` -- the user-facing entry point is the generated `<Service>Grpc.of(baseUrl)` factory rather than any class in this package directly.

- Related Packages
  Package
  Description
  com.codename1.io
  Networking, Storage, Filesystem & related API's
- Class
  Description
  GrpcClients
  Runtime registry that wires `@GrpcClient`-annotated interfaces to the build-time-generated implementations.
  GrpcClients.Factory<T>
  Factory the generated bootstrap registers per API interface.
  GrpcException
  Thrown when a synchronous helper observes a non-OK gRPC status or a transport-level failure.
  GrpcResponse<T>
  Result of a unary gRPC call.
  GrpcWeb
  High-level gRPC-Web invoker used by generated `@GrpcClient` implementations.
  ProtoCodec<T>
  Per-class encoder / decoder for a `@ProtoMessage` type.
  ProtoCodecs
  Runtime registry that wires `@ProtoMessage` classes to their build-time-generated `ProtoCodec`s.
  ProtoReader
  Low-level protobuf wire-format reader used by generated `ProtoCodec` implementations.
  ProtoReader.PackedReader<T>
  Strategy hook for `ProtoReader.readPacked(List, ProtoReader.PackedReader)`.
  ProtoWriter
  Low-level protobuf wire-format writer used by generated `ProtoCodec` implementations.