Class: shaka.net.HttpXHRPlugin

A networking plugin to handle http and https URIs via XHR.

Constructor

new HttpXHRPlugin()

A networking plugin to handle http and https URIs via XHR.

Source:

Members

Xhr_ :function(new: XMLHttpRequest)

Overridden in unit tests, but compiled out in production.
Type:
  • function(new: XMLHttpRequest)
Source:

Methods

parse(uri, request, requestType, progressUpdated) → {shaka.extern.IAbortableOperation.<shaka.extern.Response>}

Parameters:
Name Type Description
uri string
request shaka.extern.Request
requestType shaka.net.NetworkingEngine.RequestType
progressUpdated shaka.extern.ProgressUpdated Called when a progress event happened.
Source:
Returns:
Type
shaka.extern.IAbortableOperation.<shaka.extern.Response>