Alexander Girke
01/11/2023, 4:50 PMconvertForSend(
context: PipelineContext<Any, ApplicationCall>,
contentType: ContentType,
value: Any
): Any?
For my use case, the context parameter was essential. In Ktor 2.x the signature changed completely and I no longer have access to the call context when serializing:
serializeNullable(
contentType: ContentType,
charset: Charset,
typeInfo: TypeInfo,
value: Any?
): OutgoingContent?
Is there any way to access the call context in Ktor 2.0?Aleksei Tirman [JB]
01/11/2023, 5:40 PMAlexander Girke
01/11/2023, 5:45 PMAlexander Girke
01/12/2023, 8:33 AMAleksei Tirman [JB]
01/12/2023, 9:23 AM