8000 Add support for controlling how string body parameters are serialized by clairernovotny · Pull Request #425 · reactiveui/refit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add support for controlling how string body parameters are serialized #425

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 2 commits into from
Jan 29, 2018

Conversation

clairernovotny
Copy link
Member

@clairernovotny clairernovotny requested a review from bennor January 29, 2018 22:20
if (paramList[i] is HttpContent httpContentParam)
{
ret.Content = httpContentParam;
}
else if (streamParam != null)
else if (paramList[i] is Stream streamParam)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Copy link
Contributor
@bennor bennor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I think it makes things a fair bit clearer too.

@clairernovotny clairernovotny merged commit 45b3ce8 into master Jan 29, 2018
@clairernovotny clairernovotny deleted the string-body branch January 29, 2018 23:02
fedemkr added a commit to fedemkr/refit that referenced this pull request Mar 19, 2019
Explained how a parameter of type string can be sent as a `StringContent` in `Body` given the PR reactiveui#425
@fedemkr fedemkr mentioned this pull request Mar 19, 2019
2 tasks
clairernovotny pushed a commit that referenced this pull request Mar 31, 2019
@lock lock bot locked and limited conversation to collaborators Jun 25, 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.

2 participants
0