Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

response headers #25

Open
3052 opened this issue Mar 22, 2024 · 2 comments
Open

response headers #25

3052 opened this issue Mar 22, 2024 · 2 comments

Comments

@3052
Copy link

3052 commented Mar 22, 2024

how to get them?

@inkeliz
Copy link
Owner

inkeliz commented Mar 23, 2024

Webview is an isolated process, the only way to get headers (and body) requests and responses is using proxy, in that case. You can set proxies and certificate. The proxy can run locally, so basically: Your app -> Webview -> Your App (Proxy) -> Webview -> Your App (Proxy) -> ...

EDIT: If you want to use it for authentication, you can use custom-scheme, then listen such scheme.

@3052
Copy link
Author

3052 commented Mar 23, 2024

I dont think thats true. at least on windows, it seems to be possible to get them:

https://learn.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2httpresponseheaders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants