def pool.next

bend-kit-http@0.38.5.0 · http.bend:3994

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

3994# The jar takes the response's Set-Cookie fields first, redirect or not.
3995def 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:
3996  (p, m, h) = x
3997  Hop{method, +url, headers, body} = h
3998  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)