Skip to main content

FetchHandler

Type Alias FetchHandler 

Source
pub type FetchHandler = Arc<dyn Fn(FetchRequest) -> Result<FetchResponse, String> + Send + Sync>;
Expand description

Host networking callback invoked by JavaScript fetch().

Aliased Typeยง

pub struct FetchHandler { /* private fields */ }