open fun end(chunk: String): Unit
Same as io.vertx.reactivex.core.http.HttpClientRequest#end but writes a String in UTF-8 encoding
open fun end(chunk: String, enc: String): Unit
Same as io.vertx.reactivex.core.http.HttpClientRequest#end but writes a String with the specified encoding
open fun end(chunk: Buffer): Unit
Same as io.vertx.reactivex.core.http.HttpClientRequest#end but writes some data to the request body before ending. If the request is not chunked and no other data has been written then the Content-Length header will be automatically set
open fun end(): Unit
Overrides WriteStream.end
Ends the request. If no data has been written to the request body, and io.vertx.reactivex.core.http.HttpClientRequest#sendHead has not been called then the actual request won't get written until this method gets called.
Once the request has ended, it cannot be used any more,