Open chamber5 opened 4 years ago
I want to push this issue a bit. Due the increased usage of Kotlin in the Android & JVM world, here are some pros for an upcoming contribution.
More than the half of all projects already use Kotlin as their primary programming language: Kotlin ecosystem report 2020
The superior network library OkHttp from Square is also rewritten in Kotlin: OkHttp 4.x
We at NanoGiants use OkHttp for all of our Android projects, so I hope we can get this code gen in a future postman release.
@chamber5 Please correct the title "Kotlin OkHttp"
@nilsjr Actually I would prefer khttp as it requires much less boilerplate code than OkHttp and is much simpler to use. So if you haven't fully decided than I would strongly recommend starting from khttp and OkHttp as next step. Most of projects in Kotlin I've been working on were using khttp and in few we even switched from OkHttp to khttp;)
Nevermind. Never heard of khttp at all. Due the huge documentation, functionality & community behind OkHttp, I will open an issue for OkHttp and contribute that way.
Thank you for your input. I will look into khttp for comparsion. Whats the main benefit beside simpler usage than OkHttp?
Beside OkHttp I also opened an issue for Kotlin Ktor #489. As an Kotlin enthusiast and KMM explorer we will use Ktor more and more.
Related #142
Is your feature request related to a problem? Please describe. Kotlin khttp is nice, commonly used library for requests, so it would be perfect that Postman has also possibility to export request code to khttp