If the request came in through CoAP, an object body (Json) is automatically converted to CBOR

interface IncomingRequestResponse {
    body?: Uint8Array | Json;
    statusCode: number;
}

Properties

Properties

body?: Uint8Array | Json
statusCode: number