WebsocketExtensionManager

SoupWebsocketExtensionManager is the #SoupSessionFeature that handles WebSockets extensions for a #SoupSession.

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 soup_session_remove_feature_by_type(), or disable it on individual requests with soup_message_disable_feature().

Constructors

this
this(SoupWebsocketExtensionManager* soupWebsocketExtensionManager, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getStruct
void* getStruct()

the main Gtk struct as a void*

getWebsocketExtensionManagerStruct
SoupWebsocketExtensionManager* getWebsocketExtensionManagerStruct(bool transferOwnership)

Get the main Gtk struct

Mixins

__anonymous
mixin SessionFeatureT!(SoupWebsocketExtensionManager)
Undocumented in source.

Static functions

getType
GType getType()

Variables

soupWebsocketExtensionManager
SoupWebsocketExtensionManager* soupWebsocketExtensionManager;

the main Gtk struct

Inherited Members

From SessionFeatureIF

getSessionFeatureStruct
SoupSessionFeature* getSessionFeatureStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
addFeature
bool addFeature(GType type)

Adds a "sub-feature" of type @type to the base feature @feature. This is used for features that can be extended with multiple different types. Eg, the authentication manager can be extended with subtypes of #SoupAuth.

attach
void attach(Session session)
detach
void detach(Session session)
hasFeature
bool hasFeature(GType type)

Tests if @feature has a "sub-feature" of type @type. See soup_session_feature_add_feature().

removeFeature
bool removeFeature(GType type)

Removes the "sub-feature" of type @type from the base feature @feature. See soup_session_feature_add_feature().

Meta

Since

2.68