Skip to content

CoAPExchange

Jim Schaad edited this page Jun 30, 2017 · 1 revision

Introduction

Implementers of servers will see this class because it is passed into the method handlers. This class, along with the Exchange class, holds all of the information that associates requests and responses.

Properties

ETag: Get/Set the ETag value for the response

LocationPath: Get/Set the Location-Path value for the response

LocationQuery: Get/Set the Location-Query value for the response

MaxAge: Get/Set the Max-Age value for the response

Request: Return the request associated with the exchange.

Methods

Accept: Send an accept response message to the client.

Reject: Send a reject response message back to the client

Respond: Send a response message back to the client

Clone this wiki locally