Network & Downloads

Check Network Idle

Report network/content idle state.

Report network/content idle state.

Determines whether the content has been idle for longer than a configured threshold based on recent activity timing, acknowledges the request, and sends an asynchronous runtime message containing the idle status for aggregation or further processing.

Examples

GPAL Fluent: High-level fluent C# API

.WithNetworkIdleTimeoutMs(500) // maximum time to wait for the network to be idle .WithNetworkIdlePruneMs(10_000) // maximum duration to keep network stats before pruning old data .WithNetworkIdleMaxConnections(0) // max connections to consider idle .WithWaitOnNetworkIdle(true); // mutally excludes WithWaitOnDocumentReady

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.CheckNetworkIdle();

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.CheckNetworkIdle().Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.CheckNetworkIdle(string sessionId);

REST Client: Direct REST/HTTP client

GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.CheckNetworkIdle).Execute();