Class: shaka.net.NetworkingUtils

Networking utility functions.

Constructor

new NetworkingUtils()

Networking utility functions.

Source:

Members

EXTENSIONS_TO_MIME_TYPES_ :Object.<string, string>

Type:
  • Object.<string, string>
Source:

Methods

getExtension_(uri) → {string}

Parameters:
Name Type Description
uri string
Source:
Returns:
Type
string

getMimeType(uri, netEnginenon-null, retryParams) → {Promise.<string>}

Parameters:
Name Type Description
uri string
netEngine shaka.net.NetworkingEngine
retryParams shaka.extern.RetryParameters
Source:
Returns:
Type
Promise.<string>