Rev2025Codec implements WireCodecInterface
FinalYes
The wire codec for every revision through 2025-11-25.
The identity transform, deliberately: these revisions have nothing to stamp, and nothing newer may leak into them.
Tags
Table of Contents
Interfaces
- WireCodecInterface
- Translates the SDK's revision-neutral result model into the wire shape one protocol era expects.
Methods
- encodeResult() : array<string, mixed>
- Stamps an already-serialized result with whatever this era requires.
Methods
encodeResult()
Stamps an already-serialized result with whatever this era requires.
public
encodeResult(string $method, array<string|int, mixed> $result[, bool $cacheable = true ]) : array<string, mixed>
Parameters
- $method : string
-
the request method the result answers
- $result : array<string|int, mixed>
-
the neutral result body
- $cacheable : bool = true
-
whether this answer may carry caching hints at all — false for one produced by a multi round-trip retry, whose inputs are not part of any cache key