CoapRequest.newFetch constructor

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

Construct a FETCH request.

Implementation

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