def parse.req

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

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

881def parse.req(g: Got) -> Maybe<&1, Req>:
882  match g:
883    case GotReq{req}:
884      Some{req}
885    case GotBad{}:
886      None{}
887    case GotMore{}:
888      None{}
889    case GotHead{req}:
890      None{}

Uses (3)

Used by (1)