type Header

bend-kit-websocket@0.4.0.0 · websocket.bend:380

import bend-kit-websocket@0.4.0.0/websocket.bend as Websocket
import 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}

Uses (3)

Used by (9)