def pool.next

bend-kit-http@0.38.4.0 · http.bend:3990

import bend-kit-http@0.38.4.0/http.bend as Http
import Base

3990# The jar takes the response's Set-Cookie fields first, redirect or not.
3991def pool.next(+mode: Mode, left: Nat, cert: Maybe<&2, Cert>, +ca: String, jar: Maybe<&2, Jar>, x: Pool & Result<&1, &1, Err, Res> & Hop) -> Hops:
3992  (p, m, h) = x
3993  Hop{method, +url, headers, body} = h
3994  pool.next.of(mode, left, cert, ca, p, url, Hop{method, url, headers, body}, jar.opt.store(jar, url, m))

Uses (16)

Used by (1)