<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>About the Port on genhttp-kt</title><link>https://genhttp-kt.genhttp.run/documentation/port/</link><description>Recent content in About the Port on genhttp-kt</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://genhttp-kt.genhttp.run/documentation/port/index.xml" rel="self" type="application/rss+xml"/><item><title>Coming from GenHTTP</title><link>https://genhttp-kt.genhttp.run/documentation/port/coming-from-genhttp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genhttp-kt.genhttp.run/documentation/port/coming-from-genhttp/</guid><description>&lt;p&gt;If you know GenHTTP, you already know genhttp-kt. The API is the same - the same builders,&#10;modules, handlers and concerns - written the way a Kotlin developer expects. This page shows&#10;how C# translates, so you can use the samples you find for GenHTTP, and the&#10;&lt;a href="https://genhttp.org/documentation/" rel="noopener"&gt;GenHTTP documentation&lt;/a&gt; itself, with genhttp-kt.&lt;/p&gt;&#10;&lt;p&gt;The samples on this page have a C# and a Kotlin tab. Choose one and every sample of the page&#10;switches with it.&lt;/p&gt;</description></item><item><title>Deviations</title><link>https://genhttp-kt.genhttp.run/documentation/port/deviations/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genhttp-kt.genhttp.run/documentation/port/deviations/</guid><description>&lt;p&gt;genhttp-kt keeps the API and the behavior of GenHTTP. Where the JVM, Kotlin or a library&#10;requires a different solution, the port says so - this page lists every such place, grouped by&#10;the area you will meet it in. The complete log is&#10;&lt;a href="https://github.com/Kaliumhexacyanoferrat/genhttp-kt/blob/main/docs/DEVIATIONS.md" rel="noopener"&gt;DEVIATIONS.md&lt;/a&gt;&#10;in the repository.&lt;/p&gt;&#10;&lt;div class="callout callout-important" role="note" aria-label="Important"&gt;&#10; &lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5M9 18h6M10 22h4"/&gt;&lt;/svg&gt;&#10; &lt;div class="callout-body"&gt;&lt;p&gt;The one you are most likely to trip over: Kotlin does not allow annotations or default values&#10;on lambda parameters. A functional handler that needs &lt;code&gt;@FromBody&lt;/code&gt; or an optional parameter is&#10;written as a function reference (&lt;code&gt;post(::create)&lt;/code&gt;), see&#10;&lt;a href="../coming-from-genhttp/#functional-handlers"&gt;Coming from GenHTTP&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Versions and Sync</title><link>https://genhttp-kt.genhttp.run/documentation/port/versioning/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genhttp-kt.genhttp.run/documentation/port/versioning/</guid><description>&lt;h2 id="versions"&gt;Versions&lt;a class="anchor" href="#versions" aria-label="Link to this section"&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="M4 9h16M4 15h16M10 3 8 21M16 3l-2 18"/&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Versions of genhttp-kt have four components: the version of GenHTTP the port is based on,&#10;followed by a counter of releases of the port itself.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Version&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Meaning&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;11.1.0.0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The first release based on GenHTTP &lt;code&gt;11.1.0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;11.1.0.1&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A release of the port only - a fix in the port, updated libraries&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;11.2.0.0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The first release based on GenHTTP &lt;code&gt;11.2.0&lt;/code&gt; - the counter resets&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Gradle and Maven order these versions correctly, and the tags of the repository are named&#10;after them (&lt;code&gt;v11.1.0.0&lt;/code&gt;). This documentation describes genhttp-kt 11.1.0.3, based on&#10;GenHTTP 11.1.0.&lt;/p&gt;</description></item></channel></rss>