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
- kind
- value
- scope
- none
- key
- none
- store
- none
- family
- sources
Fields#
| field | type | required | note |
|---|---|---|---|
at | time | yes | |
kind | one of fetch | xhr | websocket in | websocket out | beacon | form post | yes | |
method | text | no | |
url | text | yes | the address with session keys removed |
status | count | no | |
request_body | text | no | the body sent, with secret fields removed |
response_body | text | no | the body received |
bytes | count | yes | the bytes seen, before any cut |
truncated | bool | yes | |
duration_ms | count | no | |
step | count | no | the 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.