http.bend fails
raw source on the hub · import bend-kit-http@0.24.0.0/http.bend as Http
HTTP/1.1 and HTTP/2 client, with an HTTP/1.1 server. Source: https://github.com/paymog/bend-kit/tree/main/http
14 imports
import Base import bend-kit-wire@0.4.2.0/wire.bend as Wire import bend-kit-http2@0.1.2.0/http2.bend as H2 import bend-kit-http2@0.1.2.0/hpack.bend as Hpack import bend-kit-bytes@0.3.1.0/bytes.bend as HBytes import bend-kit-time@0.1.0.0/time.bend as Time import bend-kit-int@0.2.0.0/int.bend as Int import bend-kit-concurrency@0.1.0.0/concurrency.bend as Conc import 0x1f2d80f53f971b16c6de6a65cb1918ae/url.bend as Url import 0xcfc8be7b076f41f95c8e118383892d55/encoding.bend as Enc import 0x584fc27920487ceab242392391418d7f/json.bend as Json import 0x49814d83de8f70993a43e1002be29ecd/bytes.bend as Bytes import bend-kit-dns@0.4.0.2/dns.bend as Dns import 0x58bd522479d133cfe1b2c4451fc1a28f/zlib.bend as Zlib
The reader could not load this file (at 0x75e7d19d0e4887c8e9651d356bafc276/http2.bend:335). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Ready)
- observed : 'Ready'
Location:
334 | type Reply is Type:
335>| Ready{client: Client, writes: List<&1, Bytes.Bytes>, events: List<&1, ClientEvent>}
| ^^^^^
336 | Failed{error: Error}