websocket.bend fails
raw source on the hub · import bend-kit-websocket@0.2.0.0/websocket.bend as Websocket
RFC 6455 WebSocket client: opening handshake, frames over packed Bytes, and messages over Wire. Source: https://github.com/paymog/bend-kit/tree/main/websocket
4 imports
import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes import bend-kit-crypto@0.1.0.0/crypto.bend as Crypto import bend-kit-wire@0.4.2.0/wire.bend as Wire
The reader could not load this file (at 0x47923dd1ad3a8d9d2cddf5f98ac7ca93/websocket.bend:769). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Text)
- observed : 'Text'
Location:
768 | type Incoming is Type:
769>| Text{data: Bytes.Bytes}
| ^^^^
770 | Binary{data: Bytes.Bytes}