- Allow constructing WITHOUT a `ResponseHandler` (it remains as `null)
This commit is contained in:
Tristan B. Velloza Kildaire 2023-05-04 11:04:32 +02:00
parent 7072c852dc
commit 7af21a909a
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@ public abstract class Request
this.respFunc = respFunc;
}
protected this(byte[] requestMessage)
{
this(requestMessage, null);
}
package final byte[] getRequestData()
{
return requestMessage;