{"json_modified": "2016-08-29T13:10:37.119208", "uuid": "22051a73-bf25-4052-890a-c38816decccf", "title": "FetchEvent.respondWith()", "url": "/en-US/docs/Web/API/FetchEvent/respondWith", "tags": ["API", "FetchEvent", "Offline", "respondWith", "Reference", "Workers", "Experimental", "offline", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "Service Workers", "Method"], "translations": [{"uuid": "7ccbb8de-a003-441c-8fb2-41e23140db90", "title": "FetchEvent.respondWith()", "url": "/ja/docs/Web/API/FetchEvent/respondWith", "tags": ["Worker", "API", "FetchEvent", "Offline", "Reference", "Experimental", "offline", "Service Worker", "respondWith", "Method"], "summary": "Editorial review completed.", "localization_tags": [], "locale": "ja", "last_edit": "2016-06-28T00:09:06", "review_tags": []}], "modified": "2016-08-29T13:10:37", "label": "FetchEvent.respondWith()", "localization_tags": [], "locale": "en-US", "id": 135845, "last_edit": "2016-08-29T13:10:30", "summary": "The respondWith()
method of the FetchEvent
interface is intended for containing code that generates custom responses to the requests coming from the controlled page. This code will resolve by returning a Response
or network error to Fetch
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Returns", "title": "Returns"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Examples", "title": "Examples"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/FetchEvent/respondWith", "review_tags": ["technical"]}