The RequestDestination enumerated type contains the permitted values for a request's destination. These string values indicate potential types of content that a request may try to retrieve.

Documentation RequestDestination by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

@:value(cast "audio")@:enum@:implinlineread onlyAUDIO:RequestDestination = "audio"

@:value(cast "audioworklet")@:enum@:implinlineread onlyAUDIOWORKLET:RequestDestination = "audioworklet"

@:value(cast "document")@:enum@:implinlineread onlyDOCUMENT:RequestDestination = "document"

@:value(cast "embed")@:enum@:implinlineread onlyEMBED:RequestDestination = "embed"

@:value(cast "font")@:enum@:implinlineread onlyFONT:RequestDestination = "font"

@:value(cast "image")@:enum@:implinlineread onlyIMAGE:RequestDestination = "image"

@:value(cast "manifest")@:enum@:implinlineread onlyMANIFEST:RequestDestination = "manifest"

@:value(cast "")@:enum@:implinlineread onlyNONE:RequestDestination = ""

@:value(cast "object")@:enum@:implinlineread onlyOBJECT:RequestDestination = "object"

@:value(cast "paintworklet")@:enum@:implinlineread onlyPAINTWORKLET:RequestDestination = "paintworklet"

@:value(cast "report")@:enum@:implinlineread onlyREPORT:RequestDestination = "report"

@:value(cast "script")@:enum@:implinlineread onlySCRIPT:RequestDestination = "script"

@:value(cast "sharedworker")@:enum@:implinlineread onlySHAREDWORKER:RequestDestination = "sharedworker"

@:value(cast "style")@:enum@:implinlineread onlySTYLE:RequestDestination = "style"

@:value(cast "track")@:enum@:implinlineread onlyTRACK:RequestDestination = "track"

@:value(cast "video")@:enum@:implinlineread onlyVIDEO:RequestDestination = "video"

@:value(cast "worker")@:enum@:implinlineread onlyWORKER:RequestDestination = "worker"

@:value(cast "xslt")@:enum@:implinlineread onlyXSLT:RequestDestination = "xslt"