← Back to Network domain

Network.configureDurableMessages

Configures storing response bodies outside of renderer, so that these survive a cross-process navigation. If maxTotalBufferSize is not set, durable messages are disabled.

Domain: Network experimental

Parameters

NameTypeDescription
maxTotalBufferSize (optional)integerBuffer size in bytes to use when preserving network payloads (XHRs, etc).
maxResourceBufferSize (optional)integerPer-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).

Example Request

{
  "id": 1,
  "method": "Network.configureDurableMessages"
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Network.configureDurableMessages');
console.log(result);