DevOp.Toon.Client is a typed HTTP client for .NET that makes communicating with TOON-first APIs as straightforward as working with any other strongly typed client.
It wraps HttpClient and integrates with DevOp.Toon to handle TOON encoding of request bodies, TOON/JSON response negotiation, and per-request server-side formatting overrides — all configured in one place through dependency injection.
IToonClient — a strongly typed HTTP client interface covering GET, POST, PUT, PATCH, and DELETEX-Toon-Option-*ToonClientException — status code, raw body, and Decode<T>() for typed error DTOsILogger<ToonClient>, resolved automatically from DIAddToonClient(...)Use DevOp.Toon.Client when:
application/toon or text/toonDevOp.Toon and want HTTP client integration to matchFor engineering readers: architecture notes, build configuration, and contributor guidance are in the development section below.