IResourceInterceptorOnBeginResponse Method Awesomium.NET 1.7.6Awesomium.NET
Called when a server response occurs. You can use this to make custom responses (for example a custom 404 Page) or to simply monitor server responses and errors. Please note this event does not guarantee a response has been fully received, only that headers have been received.

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

ResourceResponse OnBeginResponse(
	IResourceRequest request,
	ResourceResponse response
)

Parameters

request
Type: Awesomium.CoreIResourceRequest
The resource request. (read-only, already sent to server).
response
Type: Awesomium.CoreResourceResponse
The server response, contains only headers at this point.

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