NetworkClientEnableAsync Method |
Version 87.1.132
Enables network tracking, network events will now be delivered to the client.
Namespace:
CefSharp.DevTools.Network
Assembly:
CefSharp (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax public Task<DevToolsMethodResponse> EnableAsync(
Nullable<int> maxTotalBufferSize = null,
Nullable<int> maxResourceBufferSize = null,
Nullable<int> maxPostDataSize = null
)
public:
Task<DevToolsMethodResponse^>^ EnableAsync(
Nullable<int> maxTotalBufferSize = nullptr,
Nullable<int> maxResourceBufferSize = nullptr,
Nullable<int> maxPostDataSize = nullptr
)
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:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also