Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method HTTPRequest.prototype.abort
import { HTTPRequest } from "https://deno.land/x/pptr@1.2.0/src/HTTPRequest.ts";

Aborts a request.

Parameters

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

Returns

Promise<void>