Created
March 23, 2017 21:56
-
-
Save jfversluis/8025ad5bb9ab5b957c2f0b7c2d543aae to your computer and use it in GitHub Desktop.
Refit interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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