to

abstract infix fun String.to(value: String)
abstract fun String.to(value: String, charset: Charset)
abstract infix fun String.to(file: Path)
abstract fun String.to(file: Path, mediaType: MediaType)
abstract infix fun String.to(bodyPublisher: <Error class: unknown class>)
abstract fun String.to(bodyPublisher: <Error class: unknown class>, filename: String)
abstract fun String.to(bodyPublisher: <Error class: unknown class>, filename: String, mediaType: MediaType)