Click or drag to resize

NetworkClientEnableAsync Method

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

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