Provide default codecs config callback to custom codecs
As a follow-up of gh-23961, this change provides a way for custom codecs
to align with the default codecs' behavior on common features like
buffer size limits and logging request details.
Closes gh-24118
Co-authored-by: Rossen Stoyanchev <rstoyanchev@pivotal.io>
@ -950,7 +950,7 @@ The following example shows how to do so for client-side requests:
@@ -950,7 +950,7 @@ The following example shows how to do so for client-side requests:
@ -959,12 +959,53 @@ The following example shows how to do so for client-side requests:
@@ -959,12 +959,53 @@ The following example shows how to do so for client-side requests:
val consumer: (ClientCodecConfigurer) -> Unit = { configurer -> configurer.defaultCodecs().enableLoggingRequestDetails(true) }