Decode one text frame.
Never throws: every rejection comes back as kind: 'malformed' carrying the code a caller should answer with. A control endpoint that threw on garbage would tear down the socket over a single bad frame.
kind: 'malformed'
Decode one text frame.
Never throws: every rejection comes back as
kind: 'malformed'carrying the code a caller should answer with. A control endpoint that threw on garbage would tear down the socket over a single bad frame.