puppeteer/website/versioned_docs/version-10.1.0/puppeteer.httpresponse.fromserviceworker.md
2021-08-10 11:09:48 +01:00

18 lines
447 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [HTTPResponse](./puppeteer.httpresponse.md) &gt; [fromServiceWorker](./puppeteer.httpresponse.fromserviceworker.md)
## HTTPResponse.fromServiceWorker() method
<b>Signature:</b>
```typescript
fromServiceWorker(): boolean;
```
<b>Returns:</b>
boolean
True if the response was served by a service worker.