Request RemoveKeepSubRequestContentUrl Method C# API
Removes a URL, so the content of sub-request responses that match the specified URL fragment will no longer be kept.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.4.0.26 (1.0.0.0)
Syntax

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.
Remarks

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.
Examples

The following example demonstrates discarding the content of the sub-request with the url 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");
See Also