reactiveui / refit

The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.
https://reactiveui.github.io/refit/
MIT License
8.4k stars 742 forks source link

Question: Unity Engine support? #1394

Open cstamati opened 2 years ago

cstamati commented 2 years ago

Is there a way to include this library inside a unity project? I tried to import refit 6 dlls but I miserably failed and give up. I would really like to use it inside unity!

89trillion-liangtao commented 1 year ago

Only runtime error: InvalidOperationException: ITestApi doesn't look like a Refit interface. Make sure it has at least one method with a Refit HTTP method attribute and Refit is installed in the project.