Skip to main content

render_capture_html

Function render_capture_html 

Source
pub fn render_capture_html(entries: &[CaseCapture]) -> String
Expand description

Render the full HTML viewer for a slice of captured probes. Bodies are kept verbatim (already truncated upstream to CAPTURE_BODY_CAP_BYTES). The whole capture is serialised as a JSON array embedded in a <script> tag and rendered on demand by the inline JS handler; cross-page filters work over the full array, not the visible page.