ExpectSuccess

class ExpectSuccess

Deprecated: Use [HttpCallValidator] instead.

Types

Companion

companion object Companion : 
    HttpClientFeature<Unit, ExpectSuccess>

Constructors

<init>

ExpectSuccess()

Companion Object Properties

key

The AttributeKey for this feature.

Companion Object Functions

install

fun install(feature: ExpectSuccess, scope: HttpClient): Unit

Installs the feature class for a HttpClient defined at scope.

prepare

fun prepare(block: Unit.() -> Unit): ExpectSuccess

Builds a TFeature by calling the block with a TConfig config instance as receiver.