8000 added RefitRestServiceAttribute for HttpClient relative path by yuri-voloshyn · Pull Request #663 · reactiveui/refit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

added RefitRestServiceAttribute for HttpClient relative path #663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 5, 2019

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
0