Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RequestController<T>

This interfaces needs to be implemented and returned by NetworkConfig.sendHttpRequest and can be used to implement custom network request implementations. The default implementation of the player uses XMLHttpRequest.

Type parameters

  • T

Hierarchy

  • RequestController

Index

Methods

cancel

  • cancel(): void
  • Is called by the player if it wants to cancel the current request (e.g. on seek)

    Returns void

getResponse

setProgressListener

  • setProgressListener(listener: function): void
  • Provides the data transfer progress to the player (if available).

    Parameters

    Returns void

Generated using TypeDoc