XDev.IO.Ktor
3.0.2.1
See the version list below for details.
dotnet add package XDev.IO.Ktor --version 3.0.2.1
NuGet\Install-Package XDev.IO.Ktor -Version 3.0.2.1
<PackageReference Include="XDev.IO.Ktor" Version="3.0.2.1" />
<PackageVersion Include="XDev.IO.Ktor" Version="3.0.2.1" />
<PackageReference Include="XDev.IO.Ktor" />
paket add XDev.IO.Ktor --version 3.0.2.1
#r "nuget: XDev.IO.Ktor, 3.0.2.1"
#:package XDev.IO.Ktor@3.0.2.1
#addin nuget:?package=XDev.IO.Ktor&version=3.0.2.1
#tool nuget:?package=XDev.IO.Ktor&version=3.0.2.1
Introduction
Nuget packaging for IO.Ktor java libs. This package is named XDev.IO.Ktor.Core.
".Core" because this nuget rolls-up several separate native libs that may need to be split out in the future.
The native libs in maven: https://mvnrepository.com/artifact/io.ktor native repo: https://github.com/ktorio/ktor
Getting Started
To use this nuget package, just install the desired version as you normally install nuget packs.
Build and Test (local)
- VS 2022 or higher.
- .Net9 SDK required to build.
- This project uses the .Net9 SDK's built-in Android Maven library support to pull the native jar-libs directly from maven.
See here for more info: https://learn.microsoft.com/en-us/dotnet/android/features/maven/android-maven-library
CI + Auto-updates
- Custom project vars (the
<PropertyGroup Label="maven.groupId">version sources and theartifact_versioned=PackageTags) are used to plug into a custom updater process: theBuild.UpdateCake Frosting build in the InteropLibs repo. - It is essentially a custom "pack-bot" that reconciles this binding's dual-package dependency system: the native Maven graph (jars/aars pulled directly from Maven via
<AndroidMavenLibrary>) and the managed NuGet graph (the wrapper<PackageReference>s). It polls Maven Central for new native versions, bumps the matching version vars, and opens a PR so the two graphs stay in sync and the Android Java dependency verifier (XA4241) keeps passing.
Contribute
If you need a different/newer version, PR, or open an issue in the .Net repo! https://dev.azure.com/XdevApps/Android%20bindings/_git/XDev.IO.Ktor.Core
https://dev.azure.com/XdevApps/Android%20bindings/_backlogs/backlog/Android%20bindings%20Team/Issues
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0-android35.0 is compatible. net10.0-android was computed. |
-
net9.0-android35.0
- Square.OkHttp3 (>= 4.12.0.10)
- Square.OkIO.JVM (>= 3.9.1.4)
- Xamarin.Kotlin.StdLib (>= 2.3.21)
- Xamarin.Kotlin.StdLib.Common (>= 2.0.21.4)
- Xamarin.Kotlin.StdLib.Jdk7 (>= 2.0.21.4)
- Xamarin.Kotlin.StdLib.Jdk8 (>= 2.0.21.4)
- Xamarin.KotlinX.AtomicFU (>= 0.24.0)
- Xamarin.KotlinX.AtomicFU.Jvm (>= 0.24.0)
- Xamarin.KotlinX.Coroutines.Core (>= 1.11.0)
- Xamarin.KotlinX.Coroutines.Core.Jvm (>= 1.11.0)
- Xamarin.KotlinX.Coroutines.Jdk8 (>= 1.11.0)
- Xamarin.KotlinX.Serialization.Core (>= 1.7.3.4)
- Xamarin.KotlinX.Serialization.Core.Jvm (>= 1.7.3.4)
- Xamarin.KotlinX.Serialization.Json (>= 1.7.3.4)
- Xamarin.KotlinX.Serialization.Json.Jvm (>= 1.7.3.4)
- XDev.Jetbrains.KotlinX.Coroutines.Slf4j (>= 1.9.0.1)
- XDev.Jetbrains.KotlinX.Datetime (>= 0.4.0.2)
- XDev.KotlinX.IO (>= 0.5.4.1)
- XDev.KotlinX.Serialization.Json.Io (>= 1.7.3.1)
- XDev.Slf4j.Api (>= 2.0.16.1)
- XDev.Square.OkHttp3.Sse (>= 4.12.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.3.1 | 0 | 6/19/2026 |
| 3.0.2.1 | 39 | 6/17/2026 |
| 3.0.1.1 | 92 | 6/12/2026 |
| 3.0.0.1 | 99 | 6/10/2026 |
| 2.3.13.1 | 164 | 4/15/2026 |
| 2.3.12.1 | 111 | 4/15/2026 |
| 2.3.11.1 | 112 | 4/12/2026 |
| 2.3.10.1 | 98 | 4/12/2026 |
| 2.3.5.1 | 110 | 4/10/2026 |
| 2.3.4.1 | 113 | 4/8/2026 |
| 2.3.3.1 | 121 | 4/8/2026 |
| 2.3.2.7 | 414 | 8/21/2025 |
| 2.3.2.6 | 247 | 8/12/2025 |
| 2.3.2.5 | 537 | 6/12/2024 |
* v3.0.0: Updated to Ktor 3.0.0 and retargeted to .NET 9 (net9.0-android).
* new maven dependencies (pulled in by Ktor 3.0.0):
- io.ktor:ktor-sse (server-sent events module)
- com.squareup.okhttp3:okhttp-sse 4.12.0
- org.jetbrains.kotlinx:kotlinx-io-core 0.5.4
- org.jetbrains.kotlinx:kotlinx-serialization-json-io 1.7.3
- org.slf4j:slf4j-api bumped to 2.0.x (now pinned directly by Ktor 3)