# 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](qtcoap-index.md) page contains information about how to use the module.


## Namespaces

| Name | Description |
| --- | --- |
| [QtCoap](qtcoap.md) | Contains miscellaneous identifiers used throughout the Qt CoAP module. |

## Classes

| Name | Description |
| --- | --- |
| [QCoapClient](qcoapclient.md) | The QCoapClient class allows the application to send CoAP requests and receive replies. |
| [QCoapMessage](qcoapmessage.md) | The QCoapMessage class holds information about a CoAP message that can be a request or a reply. |
| [QCoapOption](qcoapoption.md) | The QCoapOption class holds data about CoAP options. |
| [QCoapPrivateKey](qcoapprivatekey.md) | The QCoapPrivateKey class provides an interface for managing CoAP security keys. |
| [QCoapReply](qcoapreply.md) | The QCoapReply class holds the data of a CoAP reply. |
| [QCoapRequest](qcoaprequest.md) | The QCoapRequest class holds a CoAP request. This request can be sent with QCoapClient. |
| [QCoapResource](qcoapresource.md) | The QCoapResource class holds information about a discovered resource. |
| [QCoapResourceDiscoveryReply](qcoapresourcediscoveryreply.md) | The QCoapResourceDiscoveryReply class holds the data of a CoAP reply for a resource discovery request. |
| [QCoapSecurityConfiguration](qcoapsecurityconfiguration.md) | The QCoapSecurityConfiguration class holds configuration options during the authentication process. |

---

*Built with QDoc's template engine.*
