mirror of
https://github.com/deavmi/doap
synced 2024-07-07 06:10:07 +02:00
Client (unit test)
- Neatened up
This commit is contained in:
parent
54c1fe0ba3
commit
d497494eeb
|
@ -260,7 +260,8 @@ unittest
|
||||||
CoapClient client = new CoapClient("coap.me", 5683);
|
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])
|
.token([69])
|
||||||
.post();
|
.post();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user