Home > hls.js > XhrLoader

XhrLoader class

Signature:

declare class XhrLoader implements Loader<LoaderContext> 

Implements: Loader<LoaderContext>

Constructors

Constructor

Modifiers

Description

(constructor)(config)

Constructs a new instance of the XhrLoader class

Properties

Property

Modifiers

Type

Description

context

LoaderContext | null

stats

LoaderStats

Methods

Method

Modifiers

Description

abort()

abortInternal()

destroy()

getCacheAge()

getResponseHeader(name)

load(context, config, callbacks)

loadInternal()

loadprogress(event)

loadtimeout()

openAndSendXhr(xhr, context, config)

readystatechange()

retry(retryConfig)