Crate turn_types

Source
Expand description

§turn-types

turn-types provides an implementation for two main things related to TURN clients and servers:

  1. TURN specific STUN attributes using the [stun-types] crate.
  2. Parsing to and from the actual data sent and received on the wire between a TURN client and a TURN server.

This is based on the following standards:

  • RFC5766: Traversal Using Relays around NAT (TURN).

Re-exports§

pub use stun_types as stun;

Modules§

attribute
STUN Attributes for TURN.
channel
TURN ChannelData messages.
message
Module for TURN message types in addition to those specified by STUN.
tcp
Handle TURN over TCP.

Structs§

TurnCredentials
Credentials used for a TURN user.

Functions§

debug_init
Initialize some debugging functionality of the library.