Removes a URL, so the content of sub-request responses that match the specified URL
fragment will no longer be kept.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
public virtual void RemoveKeepSubRequestContentUrl(
string urlFragment
)
public virtual void RemoveKeepSubRequestContentUrl(
string urlFragment
)
Parameters
- urlFragment
- Type: System String
The responses from sub-requests that match this urlFragment will no longer be kept.
In general, it is not necessary to retain content for sub-requests, and it will
incur a performance penalty to do so. However, a situation may arise where it is
necessary to check or extract a value from a sub-response. In this situation, you
can specify that the content of a particular sub-responses should be retained.
The following example demonstrates discarding the content of the sub-request with the url
http://localhost/images/magnifying-glass.png
request.removeKeepSubRequestContentUrl("http://localhost/images/magnifying-glass.png");
// Don't keep the content of the sub-request with the url http://localhost/images/magnifying-glass.png
request.removeKeepSubRequestContentUrl("http://localhost/images/magnifying-glass.png");