import ElectronRequestCapturer from 'node-warc/lib/requestCapturers/electron.js'
ElectronRequestCapturer
Extends:
The remote electron request chapturer to use along side ElectronWARCGenerator See the documentation for attach and maybeNetworkMessage for setup information Controlled via startCapturing and stopCapturing
Constructor Summary
Public Constructor | ||
public |
Create a new ElectronRequestCapturer |
Method Summary
Public Methods | ||
public |
Attach to the debugger requestWillBeSent and responseReceived |
|
public |
maybeNetworkMessage(method: string, params: Object) Rather than adding an additional listener to the debugger pass the two relevant parameters of the listener to this method. |
Public Constructors
Public Methods
public attach(wcDebugger: Object) source
Attach to the debugger requestWillBeSent and responseReceived
Params:
Name | Type | Attribute | Description |
wcDebugger | Object | the debugger |
public maybeNetworkMessage(method: string, params: Object) source
Rather than adding an additional listener to the debugger pass the two relevant parameters of the listener to this method. Useful if you are already listening to some other event. attach, requestWillBeSent and responseReceived