frame

A self-contained unit of data in a protocol such as HTTP/2 or WebSocket, with a small header giving its type and length.

In more detail

Splitting traffic into frames lets a protocol interleave several messages on one connection and mix data with control messages such as ping or close. The receiver reads the header first to know how many bytes belong to the frame.

Related terms

Taught in

References