WebRequest

object WebRequest extends ChromeAPI
trait ChromeAPI
class Object
trait Matchable
class Any

Value members

Concrete methods

def handlerBehaviorChanged(callback: UndefOr[Function0[_]]): Unit

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.

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.

Concrete fields

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.

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.

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

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

Fired when a request is about to occur.

Fired when a request is about to occur.

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.

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.

Fired when a request is completed.

Fired when a request is completed.

Fired when an error occurs.

Fired when an error occurs.

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

Fired when HTTP response headers of a request have been 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.

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.

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).

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).

override