vertx / io.vertx.reactivex.core.http / HttpServerResponse / headersEndHandler

headersEndHandler

open fun headersEndHandler(handler: Handler<Void>): HttpServerResponse

Provide a handler that will be called just before the headers are written to the wire.

This provides a hook allowing you to add any more headers or do any more operations before this occurs.

Parameters

handler - the handler

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