Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>HTTPRequest#abort

Headless Chrome Deno API
Latest
method HTTPRequest.prototype.abort
Re-export
import { HTTPRequest } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Aborts a request.

Parameters

optional
errorCode: ErrorCode = [UNSUPPORTED]
  • optional error code to provide.

Returns

Promise<void>