Skip to content

responsesAreSame ​

Function @vite-pwa/workbox-swkit/broadcast-update
ts
responsesAreSame(firstResponse: Response, secondResponse: Response, headersToCheck: string[]): boolean

Given two Response's, compares several header values to see if they are the same or not.

Returns:

Released under the MIT License.