Skip to main content

fetch

Function fetch 

Source
pub fn fetch(opts: FetchOptions) -> Result<Page>
Expand description

Fetch a single page via the embedded Servo engine.

The first call spawns a persistent engine thread that lives for the process lifetime. If the engine thread panics, this returns Error::Engine.