CoapRequest

- Added missing documentation
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-25 17:51:13 +02:00
parent f2f1f8fece
commit 1136e384f8

View File

@ -54,11 +54,22 @@ package class CoapRequest
this.timer = StopWatch(AutoStart.no);
}
/**
* Gets the original request made
*
* Returns: the request packet
*/
public CoapPacket getRequestPacket()
{
return this.requestPacket;
}
/**
* Gets the token from the original request
* that was made
*
* Returns: the token
*/
public ubyte[] getToken()
{
return this.requestPacket.getToken();