Websocket.Decode: type of bend-kit-websocket@0.4.0.0 Import: import bend-kit-websocket@0.4.0.0/websocket.bend as Websocket Lines 263-268 of bend-kit-websocket@0.4.0.0/websocket.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-websocket@0.4.0.0/websocket.bend&start_line=263&end_line=268 import Base # Need: the input does not hold a whole frame yet, and comes back intact. # Got: one frame, and the octets after it. Bad: the input breaks ยง5.2 whatever comes next. type Decode<-P: Type, -S: Type> is Type: Need{input: S} Got{frame: Frame
, rest: S} Bad{code: U32, why: String} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-websocket@0.4.0.0/websocket.bend&name=Frame