Notalib / nativescript-webview-ext

Nativescript plugin with extended WebView functionality
Apache License 2.0
76 stars 37 forks source link

Get access to headers just before request. #72

Closed erjdriver closed 4 years ago

erjdriver commented 4 years ago

This is a feature request.

In your webview-ext.android.ts file, the shouldOverrideUrlLoading method - there's requestHeaders

I assume that contains all the headers in the request that's about to take place.

When I enable trace - I see that the value of headers is null.

Any reason why that's the case.

If the actual header data can be made available, I'd be interested in getting access to it.

Thanks.