end

fun end()(source)
fun end(chunk: String = definedExternally, encoding: String = definedExternally, callback: () -> Unit = definedExternally)(source)
fun end(chunk: Buffer = definedExternally, encoding: String = definedExternally, callback: () -> Unit = definedExternally)(source)

Sends the last chunk of the request data. Subsequent write or end operations will not be allowed. The finish event is emitted just after the end operation.