puppeteer/new-docs/puppeteer.httprequest.abort.md

23 lines
506 B
Markdown
Raw Normal View History

<!-- 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; [abort](./puppeteer.httprequest.abort.md)
## HTTPRequest.abort() method
<b>Signature:</b>
```typescript
abort(errorCode?: ErrorCode): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| errorCode | ErrorCode | |
<b>Returns:</b>
Promise&lt;void&gt;