mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(docs): document HTTPRequest with TSDoc (#6146)
* chore(docs): document HTTPRequest with TSDoc * doclint * example
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
## HTTPRequest.resourceType() method
|
||||
|
||||
Contains the request's resource type as it was perceived by the rendering engine.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
@@ -13,3 +15,8 @@ resourceType(): string;
|
||||
|
||||
string
|
||||
|
||||
one of the following: `document`<!-- -->, `stylesheet`<!-- -->, `image`<!-- -->, `media`<!-- -->, `font`<!-- -->, `script`<!-- -->, `texttrack`<!-- -->, `xhr`<!-- -->, `fetch`<!-- -->, `eventsource`<!-- -->, `websocket`<!-- -->, `manifest`<!-- -->, `other`<!-- -->.
|
||||
|
||||
## Remarks
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user