Pudu programming language
Menu
Package

@chrismichaelps / pudu-lang-httpclient

Named HTTP clients for Pudu: a client factory, delegating handlers, pooled keep-alive connections, handler lifetimes, logging, and resilience

0.1.1Apache-2.01

InstallClose

Outcome.md

Markdown17 lines596 B

GitHub ↗

Outcome


type: domain tags: [domain]


Every handler answers Result[T, Failure]. A failure names one cause: an invalid request, name resolution, a connection or secured connection, a proxy tunnel, the protocol, a response cut short, a body or head over its limit, too many redirects, a refused destination, an unsupported version, a timeout, a cancellation, an unsuccessful status, an unreadable body, a resilience rejection, or a crash. See [[src/PuduLangHttpClient]] and [[decisions/ADR-0001-outcomes-not-exceptions]].

Referenced by

[[architecture/LANGUAGE]] · [[domain/_MOC]]