#include <icy/turn/types.h>Inherits:
Message
A STUN message annotated with the transport type and source/destination addresses needed for server-side routing and response generation.
| Return | Name | Description |
|---|---|---|
net::TransportType | transport | Protocol on which the request arrived (UDP or TCP). |
net::Address | localAddress | Server's local address that received the request. |
net::Address | remoteAddress | Client's remote address (used to build the 5-tuple). |
std::string | hash | Pre-computed MessageIntegrity key for signing responses. |
net::TransportType transportProtocol on which the request arrived (UDP or TCP).
net::Address localAddressServer's local address that received the request.
net::Address remoteAddressClient's remote address (used to build the 5-tuple).
std::string hashPre-computed MessageIntegrity key for signing responses.
| Return | Name | Description |
|---|---|---|
Request inline | Constructs a Request by copying a parsed STUN message and annotating it with the transport context. |
inline
inline Request(const stun::Message & message, net::TransportType transport, const net::Address & localAddress, const net::Address & remoteAddress)Constructs a Request by copying a parsed STUN message and annotating it with the transport context.
message Parsed STUN message.
transport Transport protocol on which the message arrived.
localAddress Server-side local address.
remoteAddress Client-side remote address.