NetworkClientEnableAsync Method |
Version 106.0.290
Enables network tracking, network events will now be delivered to the client.
Namespace:
CefSharp.DevTools.Network
Assembly:
CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.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 (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