Skip to content
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

Send body from stream #162

Open
xperiandri opened this issue Aug 24, 2019 · 1 comment
Open

Send body from stream #162

xperiandri opened this issue Aug 24, 2019 · 1 comment

Comments

@xperiandri
Copy link

If I serialize object or object graph to JSON it would be nice to exclude intermediary step of string object or byte array creation by giving a TextReader instance which will serialize object on the fly into a complete request data.

@haf
Copy link
Owner

haf commented Aug 24, 2019

Hmm, yes sure, you can set streams in body forms https://github.com/haf/Http.fs/blob/master/HttpFs/HttpFs.fs#L309 — the write-straight-to-stream requirement is otherwise not implemented right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants