Packages

object WebRequest extends ChromeAPI

See also

chrome.webRequest API

Linear Supertypes
ChromeAPI, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebRequest
  2. ChromeAPI
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MaxHandlerBehaviorChangedCallsPer10Minutes: Int
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def handlerBehaviorChanged(callback: UndefOr[Function0[_]] = js.undefined): Unit

    Needs to be called when the behavior of the webRequest handlers has changed to prevent incorrect handling due to caching.

    Needs to be called when the behavior of the webRequest handlers has changed to prevent incorrect handling due to caching. This function call is expensive. Don't call it often.

  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. var onAuthRequired: WebRequestEventSource[BlockableAuthCallback[WebAuthenticationChallengeDetails]]

    Fired when an authentication failure is received.

    Fired when an authentication failure is received. The listener has three options: it can provide authentication credentials, it can cancel the request and display the error page, or it can take no action on the challenge. If bad user credentials are provided, this may be called multiple times for the same request.

  18. var onBeforeRedirect: WebRequestEventSource[Callback[WebRedirectionResponseDetails]]

    Fired when a server-initiated redirect is about to occur.

  19. var onBeforeRequest: WebRequestEventSource[BlockableCallback[WebRequestBodyDetails]]

    Fired when a request is about to occur.

  20. var onBeforeSendHeaders: WebRequestEventSource[BlockableCallback[WebRequestDetails]]

    Fired before sending an HTTP request, once the request headers are available.

    Fired before sending an HTTP request, once the request headers are available. This may occur after a TCP connection is made to the server, but before any HTTP data is sent.

  21. var onCompleted: WebRequestEventSource[Callback[WebResponseCacheDetails]]

    Fired when a request is completed.

  22. var onErrorOccurred: WebRequestEventSource[Callback[WebResponseErrorDetails]]

    Fired when an error occurs.

  23. val onHeadersReceived: WebRequestEventSource[BlockableCallback[WebResponseHeadersDetails]]

    Fired when HTTP response headers of a request have been received.

  24. var onResponseStarted: WebRequestEventSource[Callback[WebResponseCacheDetails]]

    Fired when the first byte of the response body is received.

    Fired when the first byte of the response body is received. For HTTP requests, this means that the status line and response headers are available.

  25. var onSendHeaders: WebRequestEventSource[Callback[WebRequestHeadersDetails]]

    Fired just before a request is going to be sent to the server (modifications of previous onBeforeSendHeaders callbacks are visible by the time onSendHeaders is fired).

  26. val requiredPermissions: Set[API]
    Definition Classes
    WebRequestChromeAPI
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ChromeAPI

Inherited from AnyRef

Inherited from Any

Ungrouped