Skip to main content

Module framing

Module framing 

Source
Expand description

传输帧的字节级分帧接口。

Structs§

SseFrame
一个完整 SSE 帧。
SseFramer
可增量喂入字节、输出完整 SSE 帧的分帧器。

Constants§

DEFAULT_MAX_BUFFER_BYTES
未配置时允许保留的单个不完整 SSE 帧最大字节数。

Functions§

encode_frame
将一个 SSE 帧编码为字节。