Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Network.Initiator
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { Initiator } = default.Network;

Information about the request initiator.

Properties

type:
| "parser"
| "script"
| "preload"
| "SignedExchange"
| "other"

Type of this initiator. (InitiatorType enum)

optional
stack: Runtime.StackTrace

Initiator JavaScript stack trace, set for Script only.

optional
url: string

Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.

optional
lineNumber: number

Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).

optional
columnNumber: number

Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).