Qt CoAP C++ 类

提供使用 CoAP 协议的类。 更多...

名称空间

QtCoap

包含用于整个 Qt CoAP 模块的杂项标识符

QCoapClient

允许应用程序发送 CoAP 请求和接收回复

QCoapMessage

Holds information about a CoAP message that can be a request or a reply

QCoapOption

保持有关 CoAP 选项的数据

QCoapPrivateKey

Interface for managing CoAP security keys

QCoapReply

Holds the data of a CoAP reply

QCoapRequest

Holds a CoAP request. This request can be sent with QCoapClient

QCoapResource

Holds information about a discovered resource

QCoapResourceDiscoveryReply

Holds the data of a CoAP reply for a resource discovery request

QCoapSecurityConfiguration

Holds configuration options during the authentication process

详细描述

要在应用程序中使用这些类,请使用以下 include 语句:

#include <QtCoap/QtCoap>
					

要链接到模块,添加此行到 qmake .pro 文件:

QT += coap