mirror of
https://github.com/deavmi/doap
synced 2024-07-04 14:10:47 +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);
|
||||
|
||||
|
||||
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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user