Home Reference Source
import XhrLoader from 'hls.js/src/utils/xhr-loader.ts'
public class | source

XhrLoader

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

config: *

public

context: LoaderContext

public

loader: *

public
public
public
public

stats: LoaderStats

public

Method Summary

Public Methods
public

abort()

public
public
public
public

load(context: LoaderContext, config: LoaderConfiguration, callbacks: LoaderCallbacks)

public
public

loadprogress(event: ProgressEvent)

public
public

Public Constructors

public constructor() source

Public Members

public callbacks: * source

public config: * source

public context: LoaderContext source

public loader: * source

public requestTimeout: number source

public retryDelay: number source

public retryTimeout: number source

public stats: LoaderStats source

public xhrSetup: * source

Public Methods

public abort() source

public abortInternal() source

public destroy() source

public getCacheAge(): * source

Return:

*

public load(context: LoaderContext, config: LoaderConfiguration, callbacks: LoaderCallbacks) source

Params:

NameTypeAttributeDescription
context LoaderContext
config LoaderConfiguration
callbacks LoaderCallbacks

public loadInternal() source

public loadprogress(event: ProgressEvent) source

Params:

NameTypeAttributeDescription
event ProgressEvent

public loadtimeout() source

public readystatechange() source