Module blocking

Module blocking 

Source
Expand description

§Blocking

This is the blocking API

use web_archive::blocking;

// Fetch page and all its resources
let archive = blocking::archive("http://example.com", Default::default())
    .unwrap();

// Embed the resources into the page
let page = archive.embed_resources();
println!("{}", page);

Functions§

archive
The blocking archive function.