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: 1.7.6.0
Syntax

ResourceResponse OnRequest(
	ResourceRequest request
)

Parameters

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

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

Reference