CoapPacket

- Documented `toString()`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-30 16:26:37 +02:00
parent edf989d698
commit 8fa04e7b75
1 changed files with 6 additions and 3 deletions

View File

@ -816,8 +816,12 @@ public class CoapPacket
}
}
/**
* Returns a string represenation
* of this packet
*
* Returns: the string
*/
public override string toString()
{
return "CoapPacket [ver: "~to!(string)(ver)~
@ -829,7 +833,6 @@ public class CoapPacket
", options: "~to!(string)(options)~
"]";
}
}
version(unittest)