src/transport/server.bend fails
raw source on the hub · import bendonnect-rpc@0.1.0.0/src/transport/server.bend as Server
Connect server transport on bend-kit-http's serve.write.* (HTTP/1.1 only).
Request bodies are buffered before the handler runs (no client/bidi streaming); responses are
written incrementally (server streaming). Unary and error replies use a known length so the body
is not chunked. Run it with bend file.bend (runner) or a native build (bend f.bend -o f).
9 imports
import Base import bend-kit-http@0.36.0.0/http.bend as Http import bend-kit-http@0.36.0.0/completion.bend as Completion import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes import ../code.bend as Code import ../error.bend as E import ../metadata.bend as Md import ../envelope.bend as Env import ../protocol.bend as P
The reader could not load this file (at 0xbd1b4cc5d2844d9d24fe4ccd14752506/admission.bend:40). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Lost)
- observed : 'Lost'
Location:
39 | Full{lease: Lease}
40>| Lost{}
| ^^^^
41 |