Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RequestItem

A collection of information about a request

Hierarchy

  • RequestItem

Index

Properties

Private _id

_id: string = ""

config

config: Config | null = null

content

content: any = null

The content of asset

ext

ext: string = ".json"

The extension name of asset

file

file: any = null

The file of asset

info

info: IAssetInfo | null = null

The information of asset

isNative

isNative: boolean = false

Whether or not it is native asset

options

options: Record<string, any> = Object.create(null)

Custom options

url

url: string = ""

The final url of request

uuid

uuid: string = ""

The uuid of request

Static MAX_DEAD_NUM

MAX_DEAD_NUM: number = 500

Static Private _deadPool

_deadPool: RequestItem[] = []

Accessors

id

  • get id(): string

Methods

recycle

  • recycle(): void

Static create

Generated using TypeDoc