NetworkClientLoadNetworkResourceAsync(String, String, LoadNetworkResourceOptions) Method |
Version 130.1.90
Fetches the resource and returns the content.
Namespace: CefSharp.DevTools.NetworkAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<LoadNetworkResourceResponse> LoadNetworkResourceAsync(
string frameId,
string url,
LoadNetworkResourceOptions options
)
public:
Task<LoadNetworkResourceResponse^>^ LoadNetworkResourceAsync(
String^ frameId,
String^ url,
LoadNetworkResourceOptions^ options
)
Parameters
- frameId String
- Frame id to get the resource for. Mandatory for frame targets, and should be omitted for worker targets.
- url String
- URL of the resource to get content for.
- options LoadNetworkResourceOptions
- Options for the request.
Return Value
TaskLoadNetworkResourceResponsereturns System.Threading.Tasks.Task<LoadNetworkResourceResponse>
Remarks
This overload of LoadNetworkResourceAsync exists to avoid a breaking change as optional params are now always at the end
where previously they weren't marked as optional when at the beginning.
See Also