Namespace Uniform.Stun.Protocol
Classes
ChannelData
TURN channel data: a channel number, a length, and the data, with four bytes of overhead instead of a Send or Data indication's thirty-six.
StunAddress
The address attributes of STUN: XOR-MAPPED-ADDRESS and the like, whose port and address are XOR'ed with the magic cookie and, for IPv6, the transaction ID, so that middleboxes do not rewrite them.
StunAttribute
A STUN attribute: its type and value.
StunAttributeTypes
StunErrorCodes
Error codes of STUN and TURN, with their reason phrases in Reason(int).
StunMessage
A STUN message: method, class, transaction ID and attributes, parsed from or encoded to the wire with optional MESSAGE-INTEGRITY and FINGERPRINT.
TurnCredentials
Time-limited TURN credentials from a secret shared by a TURN server and the service that hands them out, such as a Matrix homeserver's /voip/turnServer: the user name is expiry:name, with the expiry in Unix seconds, and the password is the Base64 HMAC-SHA1 of the user name with the secret.
Enums
StunClass
The class of a STUN message.
StunMethod
The method of a STUN message: STUN's Binding, and the TURN methods.