Scale Intelligence■ Docs
Docs / The model / PageNetworkEvent

PageNetworkEvent.

One call the page made or one frame it received while a capture rule was on, as the page hook in the main world saw it: its kind, its method and address, the status, and the bodies sent and received, cut to a bound; never a header, a cookie or a credential

Figure 1PageNetworkEventspecified
PAGENETWORKEVENTvalue at none scopeattimekindenum:fetch|xhr|websocket in|webs…methodtextoptionalthe address with session keys removedurltextstatuscountoptionalthe body sent, with secret fields removedrequest_bodytextoptionalthe body receivedresponse_bodytextoptionalthe bytes seen, before any cutbytescounttruncatedboolduration_mscountoptionalthe index of the step that caused it, when one didstepcountoptionalpoints at no other object
PageNetworkEvent is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
none
store
none
family
sources

Fields#

fieldtyperequirednote
attimeyes
kindone of fetch | xhr | websocket in | websocket out | beacon | form postyes
methodtextno
urltextyesthe address with session keys removed
statuscountno
request_bodytextnothe body sent, with secret fields removed
response_bodytextnothe body received
bytescountyesthe bytes seen, before any cut
truncatedboolyes
duration_mscountno
stepcountnothe index of the step that caused it, when one did

Routes that use it#

No route takes or returns PageNetworkEvent directly. The record holds it, and the objects that point at it reach it.