websocket.bend fails
raw source on the hub · import bend-kit-websocket@0.1.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.1.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 0x6ff0f96d54a186e76b90f54fca91949f/websocket.bend:630). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Text)
- observed : 'Text'
Location:
629 | type Incoming is Type:
630>| Text{data: Bytes.Bytes}
| ^^^^
631 | Binary{data: Bytes.Bytes}