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

write

open fun write(data: Buffer): HttpClientRequest

Parameters

data -

Return

open fun write(chunk: String): HttpClientRequest

Write a java.lang.String to the request body, encoded as UTF-8.

Parameters

chunk -

Return
@return a reference to this, so the API can be used fluently

open fun write(chunk: String, enc: String): HttpClientRequest

Write a java.lang.String to the request body, encoded using the encoding enc.

Parameters

chunk -

enc -

Return
@return a reference to this, so the API can be used fluently