TsgcTURNClient › Methods
Public methods grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| Allocate | Sends an ALLOCATE request to the TURN server to reserve a relayed transport address. |
| Refresh | Sends a REFRESH request to extend (or end) the current allocation lifetime. |
| Name | Description |
|---|---|
| CreatePermission | Installs a 5-minute permission that allows a specific peer IP to reach the relayed transport address. |
| ChannelBind | Binds a 16-bit channel number (0x4000-0x7FFF) to a peer for low-overhead ChannelData exchange. |
| Name | Description |
|---|---|
| SendIndication | Sends a datagram to a peer wrapped in a SEND Indication (requires an active permission). |
| SendChannelData | Sends a datagram to a peer using a bound channel, producing a smaller ChannelData message. |
| Name | Description |
|---|---|
| SendRequest | Inherited generic STUN request used to send a Binding Request over the TURN transport. |
| Clear | Resets the client state, releasing cached allocation, permissions and channel bindings. |
| Name | Description |
|---|---|
| WriteData | Writes raw bytes directly on the underlying TURN transport; used for custom payloads and diagnostics. |
| Name | Description |
|---|---|
| Allocate | Sends an ALLOCATE request to the TURN server to reserve a relayed transport address. |
| ChannelBind | Binds a 16-bit channel number (0x4000-0x7FFF) to a peer for low-overhead ChannelData exchange. |
| Clear | Resets the client state, releasing cached allocation, permissions and channel bindings. |
| CreatePermission | Installs a 5-minute permission that allows a specific peer IP to reach the relayed transport address. |
| Refresh | Sends a REFRESH request to extend (or end) the current allocation lifetime. |
| SendChannelData | Sends a datagram to a peer using a bound channel, producing a smaller ChannelData message. |
| SendIndication | Sends a datagram to a peer wrapped in a SEND Indication (requires an active permission). |
| SendRequest | Inherited generic STUN request used to send a Binding Request over the TURN transport. |
| WriteData | Writes raw bytes directly on the underlying TURN transport; used for custom payloads and diagnostics. |