Skip to main content

dispatch_fetch_sync

Function dispatch_fetch_sync 

Source
pub fn dispatch_fetch_sync(req: FetchRequest) -> Result<FetchResponse, String>
Expand description

Dispatches a synchronous HTTP request via the registered host FetchHandler, falling back to a built-in pure-std HTTP/1.1 client for http:// URLs.