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

XhrLoader

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

config: *

public

context: *

public

loader: *

public
public
public
public

stats: {"trequest": *, "retry": *}

public

Method Summary

Public Methods
public

abort()

public
public

load(context: *, config: *, callbacks: *)

public
public

loadprogress(event: *)

public
public

readystatechange(event: *)

Public Constructors

public constructor() source

Public Members

public callbacks: * source

public config: * source

public context: * source

public loader: * source

public requestTimeout: * source

public retryDelay: * source

public retryTimeout: * source

public stats: {"trequest": *, "retry": *} source

public xhrSetup: * source

Public Methods

public abort() source

public destroy() source

public load(context: *, config: *, callbacks: *) source

Params:

NameTypeAttributeDescription
context *
config *
callbacks *

public loadInternal() source

public loadprogress(event: *) source

Params:

NameTypeAttributeDescription
event *

public loadtimeout() source

public readystatechange(event: *) source

Params:

NameTypeAttributeDescription
event *