open fun write(data: Buffer): HttpServerResponse
open fun write(chunk: String, enc: String): HttpServerResponse
Write a java.lang.String to the response body, encoded using the encoding enc.
Return
a reference to this, so the API can be used fluently
open fun write(chunk: String): HttpServerResponse
Write a java.lang.String to the response body, encoded in UTF-8.
Return
a reference to this, so the API can be used fluently