Repository navigation
Worked Programs
Chris Michael edited this page Oct 6, 2026
·
1 revision
The repository's examples/
directory holds complete programs, each answering 0 when it behaves as documented. Each starts its
own local server, and CI runs every one of them.
| Program | Shows |
|---|---|
QuickStart |
a factory, a named client, and one request |
SharedClient |
one client configured once and handed to two parts of a program |
TypedClients |
a typed client reading and writing derived JSON values |
Endpoints |
a declared endpoint filled from arguments |
Handlers |
a custom handler, logging, metrics, propagation, and a request listener |
Resilience |
the standard pipeline retrying a busy server |
Pooling |
one kept-alive connection, a cookie jar, gzip, and pipeline events |
Testing |
code under test against a stub primary handler |
Run one from a checkout:
pudu install --locked
pudu run examples/QuickStart.puduThe chapters' programs (Ex01First through Ex11Testing) are complete too: save one under
src/ of a project that installed the package and run it as shown.