CoAP library for D
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
doap is a CoAP library for the D programming language.
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() .post(); writeln("Future start"); CoapPacket response = future.get(); writeln("Future done"); writeln("Got response: ", response); client.close();
This project is licensed under the LGPL v3.0.
- Registered by Tristan B. Velloza Kildaire
- 0.6.0-beta released 2 months ago
- LGPL v3.0
- Copyright © 2023, Tristan B. Velloza Kildaire