reject

open fun reject(reason: String, options: RequestOptions): Response<Void>

Same as reject with options.


open fun reject(reason: String): Response<Void>

Complete with failure the Awakeable.

Parameters

reason

the rejection reason. MUST NOT be null.