Install YetAnotherHttpHandler in Unity
mainYou can install YetAnotherHttpHandler in Unity using one of three methods. Note that the library requires System.IO.Pipelines and System.Runtime.CompilerServices.Unsafe (netstandard2.1) as dependencies.
Method 1: NuGetForUnity + GitHub
- Install NuGetForUnity.
- Install
System.IO.PipelinesandSystem.Runtime.CompilerServices.Unsafevia NuGetForUnity. - In Unity Package Manager, select
Add package from git URL...and use:https://github.com/Cysharp/YetAnotherHttpHandler.git?path=src/YetAnotherHttpHandler#{Version}(Replace{Version}with your desired version, e.g.,1.11.5).
Method 2: UnityNuGet scope registry
- Add the UnityNuget scope registry.
- In Unity Package Manager, add the dependency package via git URL:
https://github.com/Cysharp/YetAnotherHttpHandler.git?path=src/YetAnotherHttpHandler.Dependencies#{Version} - Add the main package via git URL:
https://github.com/Cysharp/YetAnotherHttpHandler.git?path=src/YetAnotherHttpHandler#{Version}
Method 3: Manual Installation (GitHub/Releases)
- Download the
Cysharp.Net.Http.YetAnotherHttpHandler.Dependencies.unitypackagefrom the Releases page. - Install the
.unitypackageinto your project. - Add the main package via Package Manager using the git URL:
https://github.com/Cysharp/YetAnotherHttpHandler.git?path=src/YetAnotherHttpHandler#{Version}
https://github.com/Cysharp/YetAnotherHttpHandler.git?path=src/YetAnotherHttpHandler#1.11.5