def content_type_of.fin

bendonnect-rpc@0.1.0.0 · src/protocol.bend:158

import bendonnect-rpc@0.1.0.0/src/protocol.bend as Protocol
import Base

158def content_type_of.fin(m: Maybe<&2, Ct>) -> Result<&2, &1, Reject, Ct>:
159  match m:
160    case None{}:
161      bad_media()
162    case Some{c}:
163      Done{c}

Uses (5)

Used by (1)