type Header
import bend-kit-websocket@0.4.0.0/websocket.bend as Websocketimport Base
380# A frame header, read from a list of the first octets of the input.
381# Ok: hs header octets, then len payload octets, masked with key when m.
382type Header is Data:
383 HNeed{}
384 HBad{code: U32, why: String}
385 HOk{fin: Bool, op: U32, m: Bool, key: U32, hs: U32, len: U32}