client.bend fails
raw source on the hub · import 0x0a372da4a053652f70ded7d6e0d19330/client.bend as Client
ezhttp/client: fetch a URL. URL and HTTP parsing joined to the wire effect. Answers a structured Response (status + headers + body), not a hub-style "0\n…" string contract.
6 imports
import Base import ./url.bend as Url import ./http.bend as Http import ./body.bend as Body import ./wire.bend as Wire import ./b64.bend as B64
The reader could not load this file (at 0x0a372da4a053652f70ded7d6e0d19330/body.bend:9). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Text)
- observed : 'Text'
Location:
8 | Empty{}
9>| Text{text: String}
| ^^^^
10 | Octets{bytes: List<&2, U32>}