Class WebsocketExtensionManager

All Implemented Interfaces:
SessionFeature, Proxy

@Generated("org.javagi.JavaGI") public final class WebsocketExtensionManager extends GObject implements SessionFeature

SoupWebsocketExtensionManager is the SessionFeature that handles WebSockets extensions for a Session.

A WebsocketExtensionManager 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 Session.removeFeatureByType(Type) or disable it on individual requests with Message.disableFeature(Type).

  • Constructor Details

    • WebsocketExtensionManager

      public WebsocketExtensionManager(MemorySegment address)
      Create a WebsocketExtensionManager instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • WebsocketExtensionManager

      public WebsocketExtensionManager()
      Create a new WebsocketExtensionManager.
  • Method Details