def took

ezmcp@0.1.0.0 · src/client.bend:65

import ezmcp@0.1.0.0/src/client.bend as Client
import Base
import ezmcp@0.1.0.0/src/rpc.bend as Rpc

65# what an HTTP reply to a request says: a 200 is read as JSON or as an event
66# stream by its Content-Type; any other status is unread
67def took(+status: U32, ctype: String, text: String) -> Rpc.Reply:
68  took.ok(ctype, text, U32.is_eq(status, 200), status)

Uses (5)

Used by (1)