open static fun string(): BodyCodec<String>
Return the UTF-8 string codec
open static fun string(encoding: String): BodyCodec<String>
A codec for strings using a specific encoding.
encoding
encoding - the encoding
Return the codec