def h2.idle.kept

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

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

3598# A live session goes back to the peek; a session with GOAWAY is closed.
3599def h2.idle.kept(state: Bool & Conn) -> Took:
3600  (live, c) = state
3601  match live:
3602    case True{}:
3603      TookRaw{c}
3604    case False{}:
3605      TookSeen{False{}, c}

Uses (5)

Used by (1)