JetBrains’ Ktor 3.1.0, an replace to the Kotlin-based framework for asynchronous server-side and client-side functions, is now accessible, that includes a command-line software for less complicated creation of tasks. The replace additionally brings new options to server-sent occasions (SSE), which permit a server to constantly push occasions to a consumer over HTTP.
The 3.1.Zero model, described by JetBrains as a minor launch, was unveiled February 13. Instructions on getting began with Ktor might be discovered at ktor.io.
The new Ktor CLI software presents an easy-to-use interface to generate mission templates with the consumer’s most popular options, lowering boilerplate and setup instances, JetBrains mentioned. Running the ktor new
command opens an interactive mode that permits the consumer to decide on plugins and configure a mission utilizing the identical choices accessible within the Ktor Project Generator at begin.ktor.io.