fetch()
method of the GlobalFetch
mixin starts the process of fetching a resource. This returns a promise that resolves to the Response
object representing the response to your request.context
read-only property of the Request
interface contains the context of the Request (e.g., audio
, image
, iframe
). This defines what sort of resource is being fetched.