#1337·webview

Add a custom header to every HTTP request

Author: tanin47Created Nov 16, 2025Updated Nov 17, 2025

I wonder if it is possible to add a custom HTTP header to every HTTP request.

As an example, CEF (Chrome Embedded Framework) provides a hook to intercept and modify an HTTP request before sending it out. I wonder if a similar mechanism exists.

If not, how would one implement it?

Thank you!