<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [HTTPRequest](./puppeteer.httprequest.md) &gt; [resourceType](./puppeteer.httprequest.resourcetype.md)

## HTTPRequest.resourceType() method

Contains the request's resource type as it was perceived by the rendering engine.

<b>Signature:</b>

```typescript
resourceType(): ResourceType;
```
<b>Returns:</b>

[ResourceType](./puppeteer.resourcetype.md)

