CoapRequest.newPost constructor

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

Construct a POST request.

Implementation

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