Reputation: 16320
How can I retrieve the request headers when sending a POST request using the CefSharp browser?
Do I need to subscribe to an event?
Upvotes: 0
Views: 4035
Reputation: 4420
Try implementing IRequestHandler.OnBeforeBrowse
, you should have access to the request before it's sent to the server.
https://github.com/cefsharp/CefSharp/blob/cefsharp/43/CefSharp/IRequestHandler.cs#L23
Upvotes: 1