-
public class NetworkEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNetworkEvent.DataReceivedEventFired when data chunk was received over the network.
public final classNetworkEvent.EventSourceMessageReceivedEventFired when EventSource message is received.
public final classNetworkEvent.LoadingFailedEventFired when HTTP request has failed to load.
public final classNetworkEvent.LoadingFinishedEventFired when HTTP request has finished loading.
public final classNetworkEvent.RequestInterceptedEventDetails of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.
public final classNetworkEvent.RequestServedFromCacheEventFired if request ended up loading from cache.
public final classNetworkEvent.RequestWillBeSentEventFired when page is about to send HTTP request.
public final classNetworkEvent.ResourceChangedPriorityEventFired when resource loading priority is changed
public final classNetworkEvent.SignedExchangeReceivedEventFired when a signed exchange was received over the network
public final classNetworkEvent.ResponseReceivedEventFired when HTTP response is available.
public final classNetworkEvent.WebSocketClosedEventFired when WebSocket is closed.
public final classNetworkEvent.WebSocketCreatedEventFired upon WebSocket creation.
public final classNetworkEvent.WebSocketFrameErrorEventFired when WebSocket message error occurs.
public final classNetworkEvent.WebSocketFrameReceivedEventFired when WebSocket message is received.
public final classNetworkEvent.WebSocketFrameSentEventFired when WebSocket message is sent.
public final classNetworkEvent.WebSocketHandshakeResponseReceivedEventFired when WebSocket handshake response becomes available.
public final classNetworkEvent.WebSocketWillSendHandshakeRequestEventFired when WebSocket is about to initiate handshake.
public final classNetworkEvent.WebTransportCreatedEventFired upon WebTransport creation.
public final classNetworkEvent.WebTransportClosedEventpublic final classNetworkEvent.RequestWillBeSentExtraInfoEventFired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.
public final classNetworkEvent.ResponseReceivedExtraInfoEventFired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived.
public final classNetworkEvent.TrustTokenOperationDoneEventFired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.
-