Skip to main content

synthesize_keepalive

Function synthesize_keepalive 

Source
pub fn synthesize_keepalive(
    kind: ContentGenerationKind,
    framing: StreamFraming,
) -> Option<Bytes>
Expand description

What keeps a client waiting on a synthesized stream from timing out while the upstream is still producing the object: None when the framing has no idle frame.