CoapRequest.newPatch constructor

CoapRequest.newPatch({
  1. bool confirmable = true,
})

Construct a PATCH request.

Implementation

factory CoapRequest.newPatch({final bool confirmable = true}) =>
    CoapRequest(CoapCode.patch, confirmable: confirmable);