NetworkClientLoadNetworkResourceAsync Method (String, LoadNetworkResourceOptions, String) |
Version 107.1.120
Fetches the resource and returns the content.
Namespace:
CefSharp.DevTools.Network
Assembly:
CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax public Task<LoadNetworkResourceResponse> LoadNetworkResourceAsync(
string url,
LoadNetworkResourceOptions options,
string frameId = null
)
public:
Task<LoadNetworkResourceResponse^>^ LoadNetworkResourceAsync(
String^ url,
LoadNetworkResourceOptions^ options,
String^ frameId = nullptr
)
Parameters
- url
- Type: SystemString
URL of the resource to get content for. - options
- Type: CefSharp.DevTools.NetworkLoadNetworkResourceOptions
Options for the request. - frameId (Optional)
- Type: SystemString
Frame id to get the resource for. Mandatory for frame targets, andshould be omitted for worker targets.
Return Value
Type:
TaskLoadNetworkResourceResponsereturns System.Threading.Tasks.Task<LoadNetworkResourceResponse>
See Also