Skip to main content

rewrite

Function rewrite 

Source
pub fn rewrite<'h, R: AsyncRead>(
    source: R,
    settings: Settings<'h, '_>,
) -> Rewriter<'h, R>
Expand description

Creates an AsyncRead that streams HTML rewritten according to the provided Settings.

See the crate-level documentation for an example.