currently i am working with Awsomnium 1.7 in the C# environment. I'm just using the Core and trying to define custom post parameters. Now, i googled a lot and i even posted at the awsomnium forums, but there was no answer. I understand the concept, but the recent changes just dropped the suggested mechanic and examples.
What i found: http://support.awesomium.com/kb/general-use/how-do-i-send-form-values-post-data
The problem with this is, that the WebView Class does not contain "OnResourceRequest" Event anymore. So far, i have implemented the IResourceInterceptor and have the "OnRequest"-Function overwritten public ResourceResponse OnRequest(ResourceRequest request) is the signature, but i have no chance to reach in there in order to add request headers. Anyone here any idea? I tried to look in the documentation, but i didn't find anything on that.....
You need to attach your IResourceInterceptor to WebCore, not WebView. Here's a working example:
Resource interceptor:
Main application:
HotN's answer above is good; in fact, it's what I based my answer on. However, I spent a week searching for this information and putting together something that will work. (The answer above has a couple of issues which, at the very least, make it unworkable with v1.7 of Awesomium.) What I was looking for was something that would work right out of the box.
And here is that solution. It needs improvement, but it suits my needs at the moment. I hope this helps someone else.