Client (unit test)

- Neatened up
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-18 15:09:58 +02:00
parent 54c1fe0ba3
commit d497494eeb

View File

@ -260,7 +260,8 @@ unittest
CoapClient client = new CoapClient("coap.me", 5683);
CoapRequestFuture future = client.newRequestBuilder().payload(cast(ubyte[])"Hello this is Tristan!")
CoapRequestFuture future = client.newRequestBuilder()
.payload(cast(ubyte[])"Hello this is Tristan!")
.token([69])
.post();