dev.pellet.server.extension.StringExtensions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pellet-server Show documentation
Show all versions of pellet-server Show documentation
An opinionated Kotlin web framework, with best-practices built-in
package dev.pellet.server.extension
import dev.pellet.server.codec.http.HTTPCharacters
fun String.trimLWS(): String {
return this.trim { it in HTTPCharacters.LWS_CHARS }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy