serialize

open suspend override fun serialize(contentType: ContentType, charset: Charset, typeInfo: TypeInfo, value: Any): OutgoingContent

Deprecated

Please override and use serializeNullable instead

Replace with

serializeNullable(charset, typeInfo, contentType, value)