ElectronWebRequest.onResponseStarted method
ElectronWebRequest › onResponseStarted
Unofficial
Registers a listener called when the first byte of the response body is received, filtered byfilter. Signature:
onResponseStarted(filter: ElectronWebRequestFilter, listener: ((details: ElectronOnResponseStartedListenerDetails) => void) | null): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| filter | ElectronWebRequestFilter | The filter narrowing which requests are observed. |
| listener | ((details: ElectronOnResponseStartedListenerDetails) => void) | null | Called with the request details, or null to remove the listener. |
Returns: void
Unofficial
Registers a listener called when the first byte of the response body is received.Signature:
onResponseStarted(listener: ((details: ElectronOnResponseStartedListenerDetails) => void) | null): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| listener | ((details: ElectronOnResponseStartedListenerDetails) => void) | null | Called with the request details, or null to remove the listener. |
Returns: void