Skip to content

Conversation

Attacktive
Copy link
Contributor

@Attacktive Attacktive commented May 23, 2024

Screenshot 2024-05-23 14:24:22
Screenshot 2024-05-23 14:24:33

It already has one written in Java:

@Configuration
@EnableWebFlux
public class WebConfig implements WebFluxConfigurer {

	@Override
	public void configureHttpMessageCodecs(ServerCodecConfigurer configurer) {
		configurer.defaultCodecs().maxInMemorySize(512 * 1024);
	}
}

It's straightforward to translate to Kotlin so...

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 23, 2024
@sdeleuze sdeleuze added type: documentation A documentation task theme: kotlin An issue related to Kotlin support and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels May 23, 2024
@sdeleuze sdeleuze self-assigned this May 23, 2024
@sdeleuze sdeleuze added this to the 6.1.9 milestone May 23, 2024
@snicoll snicoll changed the title docs: add Kotlin code snippet Complete Kotlin example for HTTP message codecs in reference guide May 23, 2024
@snicoll snicoll changed the title Complete Kotlin example for HTTP message codecs in reference guide Complete Kotlin example for HTTP message codecs in reference doc May 23, 2024
@sdeleuze sdeleuze closed this in 73eb6f0 May 23, 2024
@Attacktive Attacktive deleted the docs/add-kotlin-code-snippe branch May 24, 2024 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: kotlin An issue related to Kotlin support type: documentation A documentation task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants