Click or drag to resize

NetworkClientEnableAsync Method

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

Namespace:  CefSharp.DevTools.Network
Assembly:  CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.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