Ankh.HTTP2.Frame.stream

You're seeing just the function stream, go back to Ankh.HTTP2.Frame module for more information.

Specs

stream(iodata()) :: Enumerable.t()

Returns s tream of frames from a buffer, returning the leftover buffer data and the frame header information and data (without decoding it) in a tuple:

{remaining_buffer, {length, type, id, frame_data}}

or nil to signal partial leftover data:

{remaining_buffer, nil}