def fetch.hop

bend-kit-http@0.38.2.0 · http.bend:3902

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

3902# left: redirects still allowed after the request we just finished.
3903def fetch.hop(left: Nat, h: Hop) -> Next:
3904  match left:
3905    case 0n:
3906      NStop{}
3907    case 1n+p:
3908      NGo{p, h}

Uses (3)

Used by (1)