vertx / io.vertx.reactivex.core.http / HttpClientRequest / reset

reset

open fun reset(): Boolean

Reset this stream with the error code 0.

Return

open fun reset(code: Long): Boolean

Reset this request:

When the request has not yet been sent, the request will be aborted and false is returned as indicator.

Parameters

code - the error code

Return
true when reset has been performed