Skip to main content
Version: 3.45.0

FetchEvent.respondWith()

The respondWith() method allows you to provide a promise for a Response to send back to the client which made the incoming request to your application.

Syntax​

respondWith(response)

Parameters​

Return value​

Always returns undefined.