Logo Orsak

Frames Module

The frames of a streamed response: a byte of their kind, the length of their content, as 4 bytes, the most significant first, and the content. An item's content is the item, written by the member's format; a failure's is a message, in UTF-8. The end has none, so a response cut short is told from one that ended.

Types

Type Description

Reader

Reads the frames of a body, as they come: None once the body ends, which it should only after the end frame.

Functions and values

Function or value Description

write f

Full Usage: write f

Parameters:
Returns: byte array

The bytes of a frame.

f : Frame
Returns: byte array

Type something to start searching.