Skip to content

Initiator

[<Interface>]
type Initiator =
    abstract member columnNumber: float option with get, set
    abstract member lineNumber: float option with get, set
    abstract member requestId: string option with get, set
    abstract member stack: StackTrace option with get, set
    abstract member type: string with get, set
    abstract member url: string option with get, set
    static member Create (type: string, ?stack: StackTrace, ?url: string, ?lineNumber: float, ?columnNumber: float, ?requestId: string) : Initiator
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Information about the request initiator.

Properties

abstract member columnNumber: float option with get, set

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

abstract member lineNumber: float option with get, set

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

abstract member requestId: string option with get, set

Set if another request triggered this request (e.g. preflight).

abstract member stack: StackTrace option with get, set

Initiator JavaScript stack trace, set for Script only. Requires the Debugger domain to be enabled.

abstract member type: string with get, set

Type of this initiator.

abstract member url: string option with get, set

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

Methods

static member Create (type: string, ?stack: StackTrace, ?url: string, ?lineNumber: float, ?columnNumber: float, ?requestId: string) : Initiator