mirror of
https://github.com/deavmi/doap
synced 2024-07-04 14:50:54 +02:00
CoapRequest
- Added `getMid()`
This commit is contained in:
parent
1bc4664e33
commit
6c20adfe11
|
@ -75,6 +75,17 @@ package class CoapRequest
|
|||
return this.requestPacket.getToken();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the message ID from the original
|
||||
* request that was made
|
||||
*
|
||||
* Returns: the message id
|
||||
*/
|
||||
public ushort getMid()
|
||||
{
|
||||
return this.requestPacket.getMessageId();
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts the timer
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user