![]() |
VOOZH | about |
dotnet add package XDev.Square.OkHttp3.Sse --version 5.2.2.1
NuGet\Install-Package XDev.Square.OkHttp3.Sse -Version 5.2.2.1
<PackageReference Include="XDev.Square.OkHttp3.Sse" Version="5.2.2.1" />
<PackageVersion Include="XDev.Square.OkHttp3.Sse" Version="5.2.2.1" />Directory.Packages.props
<PackageReference Include="XDev.Square.OkHttp3.Sse" />Project file
paket add XDev.Square.OkHttp3.Sse --version 5.2.2.1
#r "nuget: XDev.Square.OkHttp3.Sse, 5.2.2.1"
#:package XDev.Square.OkHttp3.Sse@5.2.2.1
#addin nuget:?package=XDev.Square.OkHttp3.Sse&version=5.2.2.1Install as a Cake Addin
#tool nuget:?package=XDev.Square.OkHttp3.Sse&version=5.2.2.1Install as a Cake Tool
Nuget packaging for the okhttp-sse (Server-Sent Events) native java/kotlin dependency. This package is named
XDev.Square.OkHttp3.Sse and rolls up the single native lib com.squareup.okhttp3:okhttp-sse. The "XDev" root in
the package name allows room for Square/Microsoft to publish an official NuGet package in the future, and allows
simple replacement of this one for that one, if that ever occurs.
okhttp-sse is a transitive requirement of ktor-client-okhttp in Ktor 3 (SSE support for the OkHttp engine);
no existing NuGet wrapper carries it, so this package fills that gap.
Latest release <a href="https://www.nuget.org/packages/XDev.Square.OkHttp3.Sse"> <img src="https://img.shields.io/nuget/v/XDev.Square.OkHttp3.Sse"></a>
Latest build <a href="https://www.nuget.org/packages/XDev.Square.OkHttp3.Sse"> <img src="https://img.shields.io/nuget/vpre/XDev.Square.OkHttp3.Sse"></a>
source repo
<br>
The native lib in maven:
native repo: https://github.com/square/okhttp
To use this nuget package, just install the desired version as you normally install nuget packs.
okhttp-sse jar into XDev.Square.OkHttp3.Sse.aar to support android.Square.OkHttp3.JVM (native okhttp-jvm) and Xamarin.Kotlin.StdLib packages.https://learn.microsoft.com/en-us/dotnet/android/features/maven/android-maven-library
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.Jetbrains.InteropLibs
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-android34.0 net8.0-android34.0 is compatible. net9.0-android net9.0-android was computed. net10.0-android net10.0-android was computed. |
Showing the top 1 NuGet packages that depend on XDev.Square.OkHttp3.Sse:
| Package | Downloads |
|---|---|
|
XDev.IO.Ktor
Ktor is an asynchronous framework for creating microservices, web applications and more. Written in Kotlin from the ground up. |
This package is not used by any popular GitHub repositories.
Uses the published MS package Square.OkHttp3 as a dependency so that we're compatible with Maui-targeted apps.
Note: if MS ever releases an official okhttp-sse package (as they currently do for Square.OkHttp3), it may
collide with this one and cause java-c (Java compile) errors in consuming apps from the same Java class
definition being found twice. The intent at that point is to deprecate this package and defer to the
Xamarin/MS-sourced package.