openResponse abstract method

Future<Opened> openResponse(
  1. Uint8List body, {
  2. required CallBinding binding,
  3. required Uint8List sealedRequest,
  4. required int status,
})

Opens the response body to sealedRequest (the exact bytes that were sent), which came back with HTTP status.

Throws CoseRejected for every failed check, whatever failed.

Implementation

Future<Opened> openResponse(
  Uint8List body, {
  required CallBinding binding,
  required Uint8List sealedRequest,
  required int status,
});