geckordp.actors.network_event module
- class geckordp.actors.network_event.NetworkEventActor(*args, **kwargs)
Bases:
Actor
https://github.com/mozilla/gecko-dev/blob/master/devtools/shared/specs/network-event.js https://github.com/mozilla/gecko-dev/blob/7ef5cefd0468b8f509efe38e0212de2398f4c8b3/devtools/client/netmonitor/src/actions/search.js#L105 https://github.com/mozilla/gecko-dev/blob/7ef5cefd0468b8f509efe38e0212de2398f4c8b3/devtools/client/netmonitor/src/constants.js#L153
Note
The ‘actor_id’ a.k.a. ‘netEvent’ must be taken from [“type”: “resource-available-form”] event and not [“type”: “networkEvent”].
- get_event_timings()
- get_request_cookies()
- get_request_headers()
- get_request_post_data()
- get_response_cache()
- get_response_content()
- get_response_cookies()
- get_response_headers()
- get_security_info()
- release()
If data is not needed anymore, it can be freed on the serverside. Following calls to other functions after ‘release()’ will fail.