doap 0.6.0-beta
CoAP library for D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
doap
doap is a CoAP library for the D programming language.
Usage
Documentation is available here.
Making a request
CoapClient client = new CoapClient("coap.me", 5683);
CoapRequestFuture future = client.newRequestBuilder()
.payload(cast(ubyte[])"Hello this is Tristan!")
.token([69])
.post();
writeln("Future start");
CoapPacket response = future.get();
writeln("Future done");
writeln("Got response: ", response);
client.close();
License
This project is licensed under the LGPL v3.0.
- 0.6.0-beta released a year ago
- deavmi/doap
- LGPL v3.0
- Copyright © 2023, Tristan B. Velloza Kildaire
- Authors:
- Dependencies:
- niknaks
- Versions:
-
0.6.0-beta 2023-Oct-16 0.5.7 2023-Oct-15 0.5.6 2023-Oct-01 0.5.5 2023-Sep-30 0.5.4 2023-Sep-30 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
42 downloads total
-
- Score:
- 0.0
- Short URL:
- doap.dub.pm