[vala/staging: 2/2] webkit2gtk-*.0: Update to 2.35.1
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 2/2] webkit2gtk-*.0: Update to 2.35.1
- Date: Fri, 26 Nov 2021 19:18:29 +0000 (UTC)
commit 3ec27602e25add1d2fde1efa8a850d02e613bd7f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Nov 26 20:16:19 2021 +0100
webkit2gtk-*.0: Update to 2.35.1
vapi/webkit2gtk-4.0.vapi | 21 +++++++++++++++++++++
vapi/webkit2gtk-5.0.vapi | 21 +++++++++++++++++++++
2 files changed, 42 insertions(+)
---
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi
index f7c7ea8ea..3e7405db9 100644
--- a/vapi/webkit2gtk-4.0.vapi
+++ b/vapi/webkit2gtk-4.0.vapi
@@ -1071,11 +1071,32 @@ namespace WebKit {
public void finish (GLib.InputStream stream, int64 stream_length, string? content_type);
[Version (since = "2.2")]
public void finish_error (GLib.Error error);
+ [Version (since = "2.36")]
+ public void finish_with_response (WebKit.URISchemeResponse response);
+ public Soup.MessageHeaders get_http_headers ();
+ [Version (since = "2.36")]
+ public unowned string get_http_method ();
public unowned string get_path ();
public unowned string get_scheme ();
public unowned string get_uri ();
public unowned WebKit.WebView get_web_view ();
}
+ [CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_uri_scheme_response_get_type ()")]
+ public class URISchemeResponse : GLib.Object {
+ [CCode (has_construct_function = false)]
+ [Version (since = "2.36")]
+ public URISchemeResponse (GLib.InputStream input_stream, int64 stream_length);
+ [Version (since = "2.36")]
+ public void set_content_type (string content_type);
+ public void set_http_headers (Soup.MessageHeaders headers);
+ [Version (since = "2.36")]
+ public void set_status (uint status_code, string? reason_phrase);
+ [NoAccessorMethod]
+ [Version (since = "2.36")]
+ public GLib.InputStream stream { construct; }
+ [NoAccessorMethod]
+ public int64 stream_length { construct; }
+ }
[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_user_content_filter_ref",
type_id = "webkit_user_content_filter_get_type ()", unref_function = "webkit_user_content_filter_unref")]
[Compact]
public class UserContentFilter {
diff --git a/vapi/webkit2gtk-5.0.vapi b/vapi/webkit2gtk-5.0.vapi
index b004cf6f4..7937eceb5 100644
--- a/vapi/webkit2gtk-5.0.vapi
+++ b/vapi/webkit2gtk-5.0.vapi
@@ -1064,11 +1064,32 @@ namespace WebKit {
public void finish (GLib.InputStream stream, int64 stream_length, string? content_type);
[Version (since = "2.2")]
public void finish_error (GLib.Error error);
+ [Version (since = "2.36")]
+ public void finish_with_response (WebKit.URISchemeResponse response);
+ public Soup.MessageHeaders get_http_headers ();
+ [Version (since = "2.36")]
+ public unowned string get_http_method ();
public unowned string get_path ();
public unowned string get_scheme ();
public unowned string get_uri ();
public unowned WebKit.WebView get_web_view ();
}
+ [CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_uri_scheme_response_get_type ()")]
+ public class URISchemeResponse : GLib.Object {
+ [CCode (has_construct_function = false)]
+ [Version (since = "2.36")]
+ public URISchemeResponse (GLib.InputStream input_stream, int64 stream_length);
+ [Version (since = "2.36")]
+ public void set_content_type (string content_type);
+ public void set_http_headers (Soup.MessageHeaders headers);
+ [Version (since = "2.36")]
+ public void set_status (uint status_code, string? reason_phrase);
+ [NoAccessorMethod]
+ [Version (since = "2.36")]
+ public GLib.InputStream stream { construct; }
+ [NoAccessorMethod]
+ public int64 stream_length { construct; }
+ }
[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_user_content_filter_ref",
type_id = "webkit_user_content_filter_get_type ()", unref_function = "webkit_user_content_filter_unref")]
[Compact]
public class UserContentFilter {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]