How can I retrieve the request headers when sending a POST request using the CefSharp browser?
Do I need to subscribe to an event?
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.