puppeteer/docs/api/puppeteer.httprequest.resourcetype.md

20 lines
316 B
Markdown
Raw Normal View History

2022-06-29 13:00:37 +00:00
---
sidebar_label: HTTPRequest.resourceType
---
# HTTPRequest.resourceType() method
Contains the request's resource type as it was perceived by the rendering engine.
**Signature:**
```typescript
class HTTPRequest {
resourceType(): ResourceType;
}
```
**Returns:**
[ResourceType](./puppeteer.resourcetype.md)