IResourceInterceptorOnRequest Method Awesomium.NET 1.7.6Awesomium.NET
Called when a request for resources occurs. You can use this to modify requests before they are sent, respond to requests using your own custom resource-loading back-end, or to monitor requests for tracking purposes.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version:

ResourceResponse OnRequest(
	ResourceRequest request


Type: Awesomium.CoreResourceRequest
The resource request.

Return Value

Type: ResourceResponse
A new ResourceResponse (see Create(UInt32, IntPtr, String)) to override the response; otherwise, return null (Nothing in Visual Basic) to allow normal behavior.

Caution note Caution
This method is called on the I/O Thread. Therefore, you should not make any calls to instances and members that are not thread-safe.
See Also