Expand description
Artwork over a resource stream (crate::streams::bi::RESOURCE).
The client opens a bi stream, writes the kind byte and one
crate::resource::ResourceRequest containing ArtworkRequest.
The server answers with crate::resource::ResourceResponse and exactly length raw
bytes of the image. Each image is its own stream, so a slow one never
holds up RPCs or media.
Structs§
- Artwork
Reply - What follows on the stream.
- Artwork
Request
Enums§
- Artwork
Response - Artwork
Size - The widths the server serves. A fixed set, not a free number: a free width would let one client fill the cache with every width there is. Clients pick the smallest that covers what they draw.