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

StageWebView to also accept URLRequest to load URL #1427

Open
2jfw opened this issue Dec 7, 2021 · 5 comments
Open

StageWebView to also accept URLRequest to load URL #1427

2jfw opened this issue Dec 7, 2021 · 5 comments
Labels

Comments

@2jfw
Copy link

2jfw commented Dec 7, 2021

It would be helpful, if StageWebView would also accept URLRequest for loading an URL.
In that way, we would be more flexible and could e.g. add custom Request Headers etc..

@2jfw 2jfw added the Feature label Dec 7, 2021
@2jfw
Copy link
Author

2jfw commented Dec 13, 2021

Pls any statement/update on this one @ajwfrost ?

@ajwfrost
Copy link
Collaborator

Hi - sorry, I had meant to look into this. We'd need to double-check whether it's actually possible to provide the custom headers etc to the third party components that are used for the StageWebView. We're also looking at the potential to have some other html-engine be used for a platform-agnostic StageWebView so would need to see what sort of options that provides.

So although we can nominally accept a URLRequest, we can't necessarily promise that the custom headers are passed through to the request.... it would have to depend on the underlying implementation.

thanks

@2jfw
Copy link
Author

2jfw commented Dec 13, 2021

Thanks Andrew, this would help a lot!

I saw the post regarding the Ultra-Light HTML Renderer Engine and it looks quite nice, so fingers crossed on this one!

@2jfw
Copy link
Author

2jfw commented Feb 11, 2022

@ajwfrost: Any news on this?

@ajwfrost
Copy link
Collaborator

This would need to go in two steps I think:

  1. update the API to allow a URLRequest (fairly straightforward, but an AS3 API update...)
  2. update the platform implementations to see if we can use the information from there.

Will try to get this one bumped up the priorities a little...
thanks

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

No branches or pull requests

2 participants