Envelope PHP sends to invoke an upstream. client names a [grpc.clients.<name>]
entry (resolves the descriptor pool, TLS, default deadline, retries); address
optionally overrides the endpoint for this call. message is the request DTO as
canonical JSON; it is transcoded to protobuf against the client’s pool.
Per-worker registry of configured upstream clients, keyed by [grpc.clients.<name>]
name. Built once per worker run(); each entry lazily opens its channel on first
call. Clients whose descriptor pool fails to build are logged and omitted (a call
to them returns UNIMPLEMENTED), rather than crashing the worker.
Envelope PHP sends to open a streaming call (grpc.client.stream, phase 88b).
Like ClientCallEnvelope plus kind; message carries the single initial
request for StreamKind::ServerStreaming and is unused (send messages via
folk_stream_send) for client-streaming / bidi.
Build a DescriptorPool for transcoding from proto files and/or a prebuilt
FileDescriptorSet bundle. Both sources merge into one pool (solution 5), so
Any can unpack any type present in either. Errors if neither yields any
descriptor (transcode was requested but nothing to transcode against).
Perform a dynamic unary gRPC call over channel with no message
(de)serialization by tonic. request is already-encoded protobuf; the return
is the raw response protobuf. Used by the PoC test and by [ResolvedClient].