Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yuri-voloshyn
Copy link
Contributor

added RefitRestServiceAttribute for HttpClient relative path
fixed issue #662

yuri-voloshyn and others added 2 commits May 15, 2019 17:20
added RefitRestServiceAttribute for HttpClient relative path
@pit-hub
Copy link

pit-hub commented May 24, 2019

Hi! I've made some improvements to the work of @yuri-voloshyn.
The idea is not to modify the BaseAddress of the HttpClient. Modifying the BaseAddress may leads to unexpected behaviour by developers and also prevent reusing a HttpClient for multiple interfaces, as each instance of HttpClient uses its own pool of sockets.
Can push to the @yuri-voloshyn fork to update the PR.
The code is at: https://github.com/pit-hub/refit/tree/feature/refit-rest-service-attribute

GitHub
The automatic type-safe REST library for Xamarin and .NET - pit-hub/refit

@clairernovotny
Copy link
Member

Sorry, merged this by mistake. @pit-hub can you please open a PR with the combined changes?

@lock lock bot locked and limited conversation to collaborators Sep 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants