Constructor
new NetworkingUtils()
Networking utility functions.
- Source:
Members
EXTENSIONS_TO_MIME_TYPES_ :Map<string, string>
Type:
- Map<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>