Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8888581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:04:50+00:00 2026-06-14T22:04:50+00:00

currently i am working with Awsomnium 1.7 in the C# environment. I’m just using

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:04:51+00:00Added an answer on June 14, 2026 at 10:04 pm

    You need to attach your IResourceInterceptor to WebCore, not WebView. Here’s a working example:

    Resource interceptor:

    public class CustomResourceInterceptor : ResourceInterceptor
    {
        protected override ResourceResponse OnRequest(ResourceRequest request)
        {
            request.Method = "POST";
            var bytes = "Appending some text to the request";
            request.AppendUploadBytes(bytes, (uint) bytes.Length);
            request.AppendExtraHeader("custom-header", "this is a custom header");
    
            return null;
        }
    }
    

    Main application:

    public MainWindow()
    {
        WebCore.Started += WebCoreOnStarted;
        InitializeComponent();
    }
    
    private void WebCoreOnStarted(object sender, CoreStartEventArgs coreStartEventArgs)
    {
        var interceptor = new CustomResourceInterceptor();
    
        WebCore.ResourceInterceptor = interceptor;
        //webView is a WebControl on my UI, but you should be able to create your own WebView off WebCore
        webView.Source = new Uri("http://www.google.com");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently working on a game, and is converting it to retina. I am using
Im currently working on trying to understand Lists, Stacks, and Queues in C++. Im
Im currently working on a custom product list in the Magento backend. Heres the
Currently working on a project in MVC-3. Trying to put the following code in
im currently working in a simple program that implements plugins whith dll libraries (using
Currently working on trying to figure out asynchronous submission in ColdFusion. I always have
Currently working on an ASP.NET MVC 3.0 application and using FormsAuthentication . When the
Currently working on a bespoke ecommerce application using Codeigniter. I have a products table
Im currently working with the new version of our lovely framework. Now where I
Currently working on a 3D media engine using C# and I have come across

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.