Click or drag to resize

WebRTCDataChannelGetId Method

Returns the id assigned to this channel during creation (or auto-assigned during negotiation).

If the channel is not negotiated out-of-band the id will only be available after the connection is established (will return 65535 until then).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int GetId()

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.WebRTCDataChannel.GetId"]

See Also