Packages

t

io.scalajs.npm.angularjs.http

HttpProvider

trait HttpProvider extends Object with Provider[Http]

HTTP Provider Service - Use $httpProvider to change the default behavior of the $http service.

Annotations
@RawJSType() @native()
Linear Supertypes
Provider[Http], Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpProvider
  2. Provider
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def $get(): Http
    Definition Classes
    Provider
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def defaults: Dictionary[Any]

    Object containing default values for all $http requests.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. def interceptors: Array[Any]

    Array containing service factories for all synchronous or asynchronous $http pre-processing of request or postprocessing of responses.

    Array containing service factories for all synchronous or asynchronous $http pre-processing of request or postprocessing of responses.

    These service factories are ordered by request, i.e. they are applied in the same order as the array, on request, but reverse order, on response.

    See also

    https://docs.angularjs.org/api/ng/service/$http#interceptors

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toLocaleString(): String
    Definition Classes
    Object
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def useApplyAsync(): Any
  25. def useApplyAsync(value: Boolean): HttpProvider.this.type

    Configure $http service to combine processing of multiple http responses received at around the same time via $rootScope.$applyAsync.

    Configure $http service to combine processing of multiple http responses received at around the same time via $rootScope.$applyAsync. This can result in significant performance improvement for bigger applications that make many HTTP requests concurrently (common during application bootstrap).

    Defaults to false. If no value is specified, returns the current configured value.

    value

    If true, when requests are loaded, they will schedule a deferred "apply" on the next tick, giving time for subsequent requests in a roughly ~10ms window to load and share the same digest cycle.

    returns

    If a value is specified, returns the $httpProvider for chaining. otherwise, returns the current configured value.

  26. def valueOf(): Any
    Definition Classes
    Object
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Provider[Http]

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped