Qt CoAP C++ Classes

Provides classes to use CoAP protocol.

CMake: find_package(Qt6 REQUIRED COMPONENTS Coap)
target_link_libraries(mytarget PRIVATE Qt6::Coap)
qmake: QT += coap

The Qt CoAP page contains information about how to use the module.

Namespaces

QtCoapContains miscellaneous identifiers used throughout the Qt CoAP module.

Classes

QCoapClientThe QCoapClient class allows the application to send CoAP requests and receive replies.
QCoapMessageThe QCoapMessage class holds information about a CoAP message that can be a request or a reply.
QCoapOptionThe QCoapOption class holds data about CoAP options.
QCoapPrivateKeyThe QCoapPrivateKey class provides an interface for managing CoAP security keys.
QCoapReplyThe QCoapReply class holds the data of a CoAP reply.
QCoapRequestThe QCoapRequest class holds a CoAP request. This request can be sent with QCoapClient.
QCoapResourceThe QCoapResource class holds information about a discovered resource.
QCoapResourceDiscoveryReplyThe QCoapResourceDiscoveryReply class holds the data of a CoAP reply for a resource discovery request.
QCoapSecurityConfigurationThe QCoapSecurityConfiguration class holds configuration options during the authentication process.