Function script::fetch::load_whole_resource
source ยท pub fn load_whole_resource(
request: RequestBuilder,
core_resource_thread: &CoreResourceThread,
global: &GlobalScope,
can_gc: CanGc,
) -> Result<(Metadata, Vec<u8>), NetworkError>
Expand description
Convenience function for synchronously loading a whole resource.