Back to Site
Loading...
Searching...
No Matches
librats::StunError Struct Reference

STUN error information. More...

#include <stun.h>

Collaboration diagram for librats::StunError:
[legend]

Public Member Functions

 StunError ()
 
 StunError (StunErrorCode c, const std::string &r="")
 

Public Attributes

StunErrorCode code
 
std::string reason
 

Detailed Description

STUN error information.

Definition at line 203 of file stun.h.

Constructor & Destructor Documentation

◆ StunError() [1/2]

librats::StunError::StunError ( )
inline

Definition at line 207 of file stun.h.

◆ StunError() [2/2]

librats::StunError::StunError ( StunErrorCode  c,
const std::string &  r = "" 
)
inline

Definition at line 208 of file stun.h.

Member Data Documentation

◆ code

StunErrorCode librats::StunError::code

Definition at line 204 of file stun.h.

◆ reason

std::string librats::StunError::reason

Definition at line 205 of file stun.h.


The documentation for this struct was generated from the following file: