pub fn stream_to_frames(
cx: &mut Cx,
stream: &StreamValue,
codec: Symbol,
) -> Result<Vec<ServerFrame>>Expand description
Encodes a stream into server frames with default envelope, profile, limits.
Convenience wrapper over stream_to_frames_with_envelope using
FrameEnvelope::default().