Created
December 29, 2017 02:37
-
-
Save MrCoder/4a839a563eca96b64924e30209b288d7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var httpClient = new HttpClient | |
{ | |
BaseAddress = new Uri("http://localhost:1080"), | |
DefaultRequestHeaders = {{"Connection", "close"}} | |
}; | |
var dcrApiClient = RestService.For<IMyApiClient>(httpClient); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment