HttpSend

class HttpSend

This is internal feature that is always installed.

Types

Feature

companion object Feature : 
    HttpClientFeature<HttpSend, HttpSend>

Feature installation object

Constructors

<init>

HttpSend(maxSendCount: Int = 20)

This is internal feature that is always installed.

Properties

maxSendCount

var maxSendCount: Int

is a maximum number of requests that can be sent during a call

Functions

intercept

fun intercept(block: HttpSendInterceptor): Unit

Install send pipeline starter interceptor

Companion Object Properties

key

The AttributeKey for this feature.

Companion Object Functions

install

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

Installs the feature class for a HttpClient defined at scope.

prepare

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

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