Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Created March 23, 2017 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfversluis/8025ad5bb9ab5b957c2f0b7c2d543aae to your computer and use it in GitHub Desktop.
Save jfversluis/8025ad5bb9ab5b957c2f0b7c2d543aae to your computer and use it in GitHub Desktop.
Refit interface
using System.Threading.Tasks;
using Refit;
namespace RefitTestApp
{
public interface IRestClient
{
[Get ("/posts")]
Task<Foo []> GetPosts ();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment