You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a custom ISchemeHandler and implemented ProcessRequest. In my method, I want to use the request data sent from an AJAX-call (via POST). The request object doesn't have a property like "Body" or "Content". How do I get the POST data? Could you implement another property like "Body"?
The text was updated successfully, but these errors were encountered:
I'm not sure off the top of my head. I'd have to look at the CEF code and the CefSharp code and see if there's some body property that is available in CEF that we're not binding in CefSharp.
I already found the piece of code which is responsible for the request itself. I'm very newish to c++, so you will have to modify my code a little bit.
Two major caveats on my code:
Post-data is only sent on http/https-requests, so using your own scheme like "app://" won't work. I worked around it by overriding http:// with my custom scheme handler. This is a known issue/feature in webkit: https://code.google.com/p/chromiumembedded/issues/detail?id=404
The PostData-object in Cef is able to hold multiple sets of data (mutipart forms...) This is great in 99% of the use cases I can think of. Maybe we could enhance it to be a little more flexible.
Hi,
I created a custom ISchemeHandler and implemented ProcessRequest. In my method, I want to use the request data sent from an AJAX-call (via POST). The request object doesn't have a property like "Body" or "Content". How do I get the POST data? Could you implement another property like "Body"?
The text was updated successfully, but these errors were encountered: