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

SoupMessageHeaders #5

Open
Avidon0 opened this issue Jun 4, 2018 · 4 comments
Open

SoupMessageHeaders #5

Avidon0 opened this issue Jun 4, 2018 · 4 comments

Comments

@Avidon0
Copy link

Avidon0 commented Jun 4, 2018

Hi,

I'm trying to integrate an oauth sign-in page in my gtk3-sharp mono app, which requires an integrated web browser from which I can read the HTTP response headers.

I tried using webkit2-sharp, which seems to work fine - except that the methods/properties for reading the headers are missing.

I noticed these warnings (among many others) when building:

WebKit2.URIRequest.GetHttpHeaders - Unknown return type: SoupMessageHeaders*
WebKit2.URIResponse.HttpHeaders - property has unknown type 'SoupMessageHeaders*'
WebKit2.URIResponse.GetHttpHeaders - Unknown return type: SoupMessageHeaders*

Do you have any ideas about how I might be able to go about solving this?

Thanks,
Dave

@hbons
Copy link
Owner

hbons commented Aug 24, 2018

It means that these APIs could not be bound automatically. I've adapted a couple of APIs for my use cases, but not the whole set. You can add methods and their adjustments in https://github.com/hbons/webkit2-sharp/blob/master/sources/webkit2-sharp.metadata but I'm not really sure how this works anymore...

@hbons
Copy link
Owner

hbons commented Aug 24, 2018

btw, this project was automatically generated by Bindinator, which itself uses Gobject Introspection to generate the bindings. I can't quickly find the manual for the metadata scheme, but that would be a good place to start. I'd accept your PRs if you can make it work. :)

@hbons
Copy link
Owner

hbons commented Aug 26, 2018

@Avidon0
Copy link
Author

Avidon0 commented Aug 31, 2018

Thanks for the help. I'll fiddle around with it and see if I can get it to work

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