abstract val expectSuccess: Boolean
Tweaks Observable behavior and allows for custom error handling.
If true (default), a non-2.xx response will error CoapEndpointResponseException the response() Observable.
If false, a non-2.xx response will be reported as a next
event.