Class WebsocketExtension
- Namespace
- Soup
- Assembly
- Soup-3.0.dll
public class WebsocketExtension : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
WebsocketExtension
- Implements
- Derived
- Inherited Members
Constructors
WebsocketExtension(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public WebsocketExtension(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
WebsocketExtension(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WebsocketExtension(CreationData data)
Parameters
dataCreationData
WebsocketExtension(WebsocketExtensionHandle)
protected WebsocketExtension(WebsocketExtensionHandle handle)
Parameters
handleWebsocketExtensionHandle
Methods
Configure(WebsocketConnectionType, HashTable?)
public bool Configure(WebsocketConnectionType connectionType, HashTable? @params)
Parameters
connectionTypeWebsocketConnectionTypeparamsHashTable
Returns
GetGType()
public static Type GetGType()
Returns
GetRequestParams()
public string? GetRequestParams()
Returns
GetResponseParams()
public string? GetResponseParams()
Returns
NewFromPointer(nint, bool)
Creates a new managed WebsocketExtension instance for a given pointer.
public static WebsocketExtension NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new WebsocketExtension and sets the properties specified by the construct arguments.
public static WebsocketExtension NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
ProcessIncomingMessage(ref byte, Bytes)
public Bytes ProcessIncomingMessage(ref byte header, Bytes payload)
Parameters
Returns
ProcessOutgoingMessage(ref byte, Bytes)
public Bytes ProcessOutgoingMessage(ref byte header, Bytes payload)