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.
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 184.108.40.206
ResourceResponse OnBeginResponse( IResourceRequest request, ResourceResponse response )
Function OnBeginResponse ( request As IResourceRequest, response As ResourceResponse ) As ResourceResponse
ResourceResponse^ OnBeginResponse( IResourceRequest^ request, ResourceResponse^ response )
- Type: Awesomium.CoreIResourceRequest
The resource request. (read-only, already sent to server).
- Type: Awesomium.CoreResourceResponse
The server response, contains only headers at this point.
Return ValueType: ResourceResponse
A new ResourceResponse (see Create(UInt32, IntPtr, String)) to override the response; otherwise, return null (Nothing in Visual Basic) to allow normal behavior.
|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.|