Click or drag to resize

NetworkClientEnableAsync Method

Version 118.6.80
Enables network tracking, network events will now be delivered to the client.

Namespace:  CefSharp.DevTools.Network
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.0
Syntax
public Task<DevToolsMethodResponse> EnableAsync(
	int? maxTotalBufferSize = null,
	int? maxResourceBufferSize = null,
	int? maxPostDataSize = null
)

Parameters

maxTotalBufferSize (Optional)
Type: SystemNullableInt32
Buffer size in bytes to use when preserving network payloads (XHRs, etc).
maxResourceBufferSize (Optional)
Type: SystemNullableInt32
Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
maxPostDataSize (Optional)
Type: SystemNullableInt32
Longest post body size (in bytes) that would be included in requestWillBeSent notification

Return Value

Type: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also