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

Releases

A release never changes; a yanked one still installs from an existing lock.

Latest

0.1.1

A cancellation now stops a request in flight instead of waiting for a phase boundary, and cancellations report the caller's own reason.

  • An explicit cancellation closes the request's connection mid-exchange, waking a blocked read or write at once; the closed connection is never returned to the pool.
  • cancelPending stops every request in flight, wherever it is.
  • Timeouts are unchanged: a deadline that passes still answers a timeout, while an explicit cancellation answers with the reason given.

Requires Pudu 0.1.3 or later. Install with pudu install @chrismichaelps/pudu-lang-httpclient@0.1.1. API docs: https://github.com/chrismichaelps/pudu-lang-httpclient/wiki

pudu install @chrismichaelps/pudu-lang-httpclient@0.1.1
Browse the source →

Earlier releases1

VersionPublishedByCommit
0.1.02026-10-07@chrismichaelps25a5b13