mirror of
https://github.com/deavmi/doap
synced 2024-07-04 15:30:09 +02:00
CoapRequest
- Added missing documentation
This commit is contained in:
parent
f2f1f8fece
commit
1136e384f8
|
@ -54,11 +54,22 @@ package class CoapRequest
|
||||||
this.timer = StopWatch(AutoStart.no);
|
this.timer = StopWatch(AutoStart.no);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the original request made
|
||||||
|
*
|
||||||
|
* Returns: the request packet
|
||||||
|
*/
|
||||||
public CoapPacket getRequestPacket()
|
public CoapPacket getRequestPacket()
|
||||||
{
|
{
|
||||||
return this.requestPacket;
|
return this.requestPacket;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the token from the original request
|
||||||
|
* that was made
|
||||||
|
*
|
||||||
|
* Returns: the token
|
||||||
|
*/
|
||||||
public ubyte[] getToken()
|
public ubyte[] getToken()
|
||||||
{
|
{
|
||||||
return this.requestPacket.getToken();
|
return this.requestPacket.getToken();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user