1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT

use crate::SessionFeature;

glib::wrapper! {
    /// SoupWebsocketExtensionManager is the [`SessionFeature`][crate::SessionFeature] that handles WebSockets
    /// extensions for a [`Session`][crate::Session].
    ///
    /// A #SoupWebsocketExtensionManager is added to the session by default, and normally
    /// you don't need to worry about it at all. However, if you want to
    /// disable WebSocket extensions, you can remove the feature from the
    /// session with [`SessionExt::remove_feature_by_type()`][crate::prelude::SessionExt::remove_feature_by_type()] or disable it on
    /// individual requests with [`Message::disable_feature()`][crate::Message::disable_feature()].
    ///
    /// # Implements
    ///
    /// [`trait@glib::ObjectExt`], [`SessionFeatureExt`][trait@crate::prelude::SessionFeatureExt]
    #[doc(alias = "SoupWebsocketExtensionManager")]
    pub struct WebsocketExtensionManager(Object<ffi::SoupWebsocketExtensionManager, ffi::SoupWebsocketExtensionManagerClass>) @implements SessionFeature;

    match fn {
        type_ => || ffi::soup_websocket_extension_manager_get_type(),
    }
}

impl WebsocketExtensionManager {}