]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
webkit2gtk-*.0: Update to 2.35.1
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 26 Nov 2021 19:16:19 +0000 (20:16 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 26 Nov 2021 19:16:19 +0000 (20:16 +0100)
vapi/webkit2gtk-4.0.vapi
vapi/webkit2gtk-5.0.vapi

index f7c7ea8ea903b03a12d10d66e6d9e6c83ab1fded..3e7405db90cc25a6a6d897750c714c0ce83c4003 100644 (file)
@@ -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 {
index b004cf6f4f820c0e559b9a737da45af1382b7519..7937eceb51ad7388b717277c1433d1952203d171 100644 (file)
@@ -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 {