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 */ }pub type FetchHandler = Arc<dyn Fn(FetchRequest) -> Result<FetchResponse, String> + Send + Sync>;Host networking callback invoked by JavaScript fetch().
pub struct FetchHandler { /* private fields */ }