NetworkClientEnableAsync Method |
Version 130.1.90
Enables network tracking, network events will now be delivered to the client.
Namespace: CefSharp.DevTools.NetworkAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> EnableAsync(
int? maxTotalBufferSize = null,
int? maxResourceBufferSize = null,
int? maxPostDataSize = null
)
public:
Task<DevToolsMethodResponse^>^ EnableAsync(
Nullable<int> maxTotalBufferSize = nullptr,
Nullable<int> maxResourceBufferSize = nullptr,
Nullable<int> maxPostDataSize = nullptr
)
Parameters
- maxTotalBufferSize NullableInt32 (Optional)
- Buffer size in bytes to use when preserving network payloads (XHRs, etc).
- maxResourceBufferSize NullableInt32 (Optional)
- Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
- maxPostDataSize NullableInt32 (Optional)
- Longest post body size (in bytes) that would be included in requestWillBeSent notification
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also